Sun BiaoBiao created SPARK-35964:
------------------------------------
Summary: 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.2, 3.1.1
Reporter: Sun BiaoBiao
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]