You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2019/04/04 16:40:00 UTC

[jira] [Created] (SPARK-27386) Improve partition transform parsing

Ryan Blue created SPARK-27386:
---------------------------------

             Summary: 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


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