Daniel Tenedorio created SPARK-61494:
----------------------------------------

             Summary: Support optional column, field, variable, and named 
parameter references
                 Key: SPARK-61494
                 URL: https://issues.apache.org/jira/browse/SPARK-61494
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.4.0
            Reporter: Daniel Tenedorio
            Assignee: Daniel Tenedorio


This tracks adding optional column, field, variable, and named parameter 
references to Spark SQL.

A {{?}} after an identifier makes that identifier optional. If name resolution 
finds no match for it, the whole reference becomes a static {{NULL}} of type 
{{VOID}} instead of raising {{{}UNRESOLVED_COLUMN{}}}, {{{}FIELD_NOT_FOUND{}}}, 
or {{{}UNBOUND_SQL_PARAMETER{}}}. A top-level reference keeps the name of its 
last identifier.
 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to