You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:51:08 UTC
[jira] [Updated] (SPARK-27386) Improve partition transform parsing
[ https://issues.apache.org/jira/browse/SPARK-27386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-27386:
----------------------------------
Affects Version/s: (was: 3.0.0)
3.1.0
> 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.1.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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org