Open theoryxu opened 1 month ago
seems there is some special logic for OpenCSVSerde
which treats all columns as strings, @theoryxu do you have time to dig out the reason and fix it?
seems there is some special logic for
OpenCSVSerde
which treats all columns as strings, @theoryxu do you have time to dig out the reason and fix it?
OK I'll figure it out
This issue is related to https://issues.apache.org/jira/browse/HIVE-13709, a weird Hive issue.
Because of HIVE-13709, the table's scheme differs between Gravitino & Hive Metastore when using OpenCSVSerde.
For Gravitino (desc formatted in SparkSql):
For Hive Metastore (desc formatted in Hive):
Therefore, there are some type mismatches when inserting.
Should we do some compatible work at Gravitino or hit it in docs for users?
Could you let me know what your recommendations are? @FANNG1
Version
main branch
Describe what's wrong
There are some errors using
org.apache.hadoop.hive.serde2.OpenCSVSerde
as row format serde.PS. the kyuubi hive connector's behavior is right.
Error message and/or stacktrace
How to reproduce
Additional context
No response