[
https://issues.apache.org/jira/browse/SPARK-36005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-36005:
---------------------------------
Fix Version/s: (was: 3.1.3)
> in spark3.1.2 version The canCast method of type of char/varchar needs to be
> consistent with StringType
> -------------------------------------------------------------------------------------------------------
>
> Key: SPARK-36005
> URL: https://issues.apache.org/jira/browse/SPARK-36005
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.2
> Reporter: Sun BiaoBiao
> Priority: Major
>
> In https://github.com/apache/spark/pull/32109 this pr, we introduced the
> char/varchar type,
> As described in this issue:
> To be safe, this PR doesn't add char/varchar type to the query
> engine(expression input check, internal row framework, codegen framework,
> etc.). We will replace char/varchar type by string type with metadata
> (Attribute.metadata or StructField.metadata) that includes the original type
> string before it goes into the query engine. That said, the existing code
> will not see char/varchar type but only string type.
> so The canCast method of type of char/varchar needs to be consistent with
> StringType
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]