-
- Downloads
[SPARK-12578][SQL] Distinct should not be silently ignored when used in an...
[SPARK-12578][SQL] Distinct should not be silently ignored when used in an aggregate function with OVER clause JIRA: https://issues.apache.org/jira/browse/SPARK-12578 Slightly update to Hive parser. We should keep the distinct keyword when used in an aggregate function with OVER clause. So the CheckAnalysis will detect it and throw exception later. Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #10557 from viirya/keep-distinct-hivesql.
Showing
- sql/hive/src/main/antlr3/org/apache/spark/sql/parser/IdentifiersParser.g 1 addition, 1 deletion...in/antlr3/org/apache/spark/sql/parser/IdentifiersParser.g
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala 21 additions, 0 deletions...a/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
Loading
Please register or sign in to comment