[
https://issues.apache.org/jira/browse/SPARK-33989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17258758#comment-17258758
]
Apache Spark commented on SPARK-33989:
--------------------------------------
User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/31034
> Strip auto-generated cast when using Cast.sql
> ---------------------------------------------
>
> Key: SPARK-33989
> URL: https://issues.apache.org/jira/browse/SPARK-33989
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: ulysses you
> Priority: Minor
>
> During analysis we may introduce the Cast if exists type cast implicitly.
> That makes assgined name unclear.
> Let's say we have a sql `select id == null` which id is int type, then the
> output field name will be `(id = CAST(null as int))`.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]