You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ulysses you (Jira)" <ji...@apache.org> on 2021/01/18 08:43:00 UTC

[jira] [Updated] (SPARK-34150) Strip Null literal.sql in resolve alias

     [ https://issues.apache.org/jira/browse/SPARK-34150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ulysses you updated SPARK-34150:
--------------------------------
    Description: We will convert `Literal(null)` to target data type during analysis. Then the generated alias name will include something like `CAST(NULL AS String)` instead of `NULL`.  (was: We will convert `Literal(null)` to target data type during analysis. Then the generated alias name will include something like `CAST(NULL AS INT)` instead of `NULL`.)

> Strip Null literal.sql in resolve alias
> ---------------------------------------
>
>                 Key: SPARK-34150
>                 URL: https://issues.apache.org/jira/browse/SPARK-34150
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: ulysses you
>            Priority: Minor
>
> We will convert `Literal(null)` to target data type during analysis. Then the generated alias name will include something like `CAST(NULL AS String)` instead of `NULL`.



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