You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2019/04/15 23:18:00 UTC
[jira] [Commented] (SPARK-27386) Improve partition transform
parsing
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org