Description
spark-sql> create table SPARK_31834(a int) using parquet; spark-sql> insert into SPARK_31834 select '1'; Error in query: Cannot write incompatible data to table '`default`.`spark_31834`': - Cannot safely cast 'a': StringType to IntegerType; spark-sql>
Attachments
Issue Links
- relates to
-
SPARK-22893 Unified the data type mismatch message
- Resolved
- links to