apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.27k stars 911 forks source link

[Bug] Hive 3.1 cannot recognize TIMESTAMP type #1197

Closed yuzelin closed 1 year ago

yuzelin commented 1 year ago

Search before asking

Paimon version

master

Compute Engine

Hive 3.1

Minimal reproduce step

Hive 3.1 reads table with timestamp column.

What doesn't meet your expectations?

Caused by: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff] at java.sql/java.sql.Timestamp.valueOf(Unknown Source) at org.apache.hive.jdbc.HiveBaseResultSet.evaluate(HiveBaseResultSet.java:443) at org.apache.hive.jdbc.HiveBaseResultSet.getColumnValue(HiveBaseResultSet.java:423) ... 17 more

Anything else?

No response

Are you willing to submit a PR?

yuzelin commented 1 year ago

Duplicate with #1198