cloud-fan commented on a change in pull request #26656: [SPARK-27986][SQL] Support ANSI SQL filter clause for aggregate expression URL: https://github.com/apache/spark/pull/26656#discussion_r358840780
########## File path: docs/sql-keywords.md ########## @@ -117,6 +117,7 @@ Below is a list of all the keywords in Spark SQL. <tr><td>FALSE</td><td>reserved</td><td>non-reserved</td><td>reserved</td></tr> <tr><td>FETCH</td><td>reserved</td><td>non-reserved</td><td>reserved</td></tr> <tr><td>FIELDS</td><td>non-reserved</td><td>non-reserved</td><td>non-reserved</td></tr> + <tr><td>FILTER</td><td>non-reserved</td><td>non-reserved</td><td>reserved</td></tr> Review comment: ah i see. We should put it in `functionName`, which means that it's a reserved keyword, but can be used as function name. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org