You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anurag Mantripragada (Jira)" <ji...@apache.org> on 2026/10/02 00:58:00 UTC

[jira] [Created] (SPARK-59947) Resolve IDENTIFIER() in partition and ordering transform references

Anurag Mantripragada created SPARK-59947:
--------------------------------------------

             Summary: Resolve IDENTIFIER() in partition and ordering transform references
                 Key: SPARK-59947
                 URL: https://issues.apache.org/jira/browse/SPARK-59947
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 5.0.0
            Reporter: Anurag Mantripragada


In AstBuilder, visitQualifiedName builds a transform's column reference with _.getText instead of getIdentifierParts, so PARTITIONED BY (IDENTIFIER('id')) and, since SPARK-34586 (https://github.com/apache/spark/pull/58153), ORDERED BY IDENTIFIER('id') do not resolve IDENTIFIER() to the column `id`.

Resolve IDENTIFIER() in transform references the same way as elsewhere in the parser, e.g. IDENTIFIER('a.b') should give the reference a.b.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org