[ https://issues.apache.org/jira/browse/SPARK-27386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818457#comment-16818457 ]
Reynold Xin commented on SPARK-27386: ------------------------------------- [~rdblue] when will you fix this? > Improve partition transform parsing > ----------------------------------- > > Key: SPARK-27386 > URL: https://issues.apache.org/jira/browse/SPARK-27386 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.0.0 > Reporter: Ryan Blue > Priority: Major > > SPARK-27181 adds support to the SQL parser for transformation functions in > the {{PARTITION BY}} clause. The rules to match this are specific to > transforms and can match only literals or qualified names (field references). > This should be improved to match a broader set of expressions so that Spark > can produce better error messages than an expected symbol list. > For example, {{PARTITION BY (2 + 3)}} should produce "invalid transformation > expression: 2 + 3" instead of "expecting qualified name". -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org