Skip to content

Commit dd33932

Browse files
committed
Remove SqlSyntax.FUNCTION_STAR from AVG and SUM functions
1 parent 5446484 commit dd33932

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/functions/HiveSqlAverageAggFunction.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,4 @@ public <T> T unwrap(Class<T> clazz) {
5252
}
5353
return super.unwrap(clazz);
5454
}
55-
56-
@Override
57-
public SqlSyntax getSyntax() {
58-
return SqlSyntax.FUNCTION_STAR;
59-
}
6055
}

ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/functions/HiveSqlSumAggFunction.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ public AggregateCall topSplit(RexBuilder rexBuilder,
130130
}
131131
}
132132

133-
@Override
134-
public SqlSyntax getSyntax() {
135-
return SqlSyntax.FUNCTION_STAR;
136-
}
137-
138133
@Override
139134
public SqlAggFunction getRollup() {
140135
return this;

0 commit comments

Comments
 (0)