MaxGekk commented on code in PR #45622:
URL: https://github.com/apache/spark/pull/45622#discussion_r1536792261
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/AnalysisErrorSuite.scala:
##########
@@ -807,22 +885,6 @@ class AnalysisErrorSuite extends AnalysisTest with
DataTypeErrorsBase {
""""explode(array(min(a)))", "explode(array(max(a)))"""" :: Nil
)
- errorTest(
- "SPARK-38666: non-boolean aggregate filter",
- CatalystSqlParser.parsePlan("SELECT sum(c) filter (where e) FROM TaBlE2"),
- "FILTER expression is not of type boolean" :: Nil)
-
- errorTest(
- "SPARK-38666: aggregate in aggregate filter",
- CatalystSqlParser.parsePlan("SELECT sum(c) filter (where max(e) > 1) FROM
TaBlE2"),
- "FILTER expression contains aggregate" :: Nil)
-
- errorTest(
- "SPARK-38666: window function in aggregate filter",
- CatalystSqlParser.parsePlan("SELECT sum(c) " +
- "filter (where nth_value(e, 2) over(order by b) > 1) FROM TaBlE2"),
- "FILTER expression contains window function" :: Nil)
-
Review Comment:
Keep it removed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]