[
https://issues.apache.org/jira/browse/SPARK-35964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean R. Owen resolved SPARK-35964.
----------------------------------
Resolution: Invalid
> spark 3.1.1 version the method schema of class DataframeReader will lose
> the original type information of char/varchar
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-35964
> URL: https://issues.apache.org/jira/browse/SPARK-35964
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.1, 3.1.2
> Reporter: Sun BiaoBiao
> Priority: Major
>
> in spark 3.1.1 version, the method schema of class DataframeReader will
> lose the original type information of char/varchar
>
> !image-2021-07-01-14-54-49-922.png!
>
>
> !image-2021-07-01-14-55-03-117.png!
>
>
> It is expected that it can be placed in the metadata of the field, and the
> original type information can be obtained in subsequent processing
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]