-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Milestone
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Search before asking
- I have searched in the issues and found no similar issues.
Describe the bug
- execute statement - select timestamp_ntz *** FAILED ***
java.sql.SQLException: Unrecognized column type:TIMESTAMP_TYPE
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getColumnValue(KyuubiBaseResultSet.java:423)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getObject(KyuubiBaseResultSet.java:458)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getTimestamp(KyuubiBaseResultSet.java:562)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getTimestamp(KyuubiBaseResultSet.java:576)
at org.apache.kyuubi.operation.SparkQueryTests.$anonfun$$init$$27(SparkQueryTests.scala:184)
at org.apache.kyuubi.operation.SparkQueryTests.$anonfun$$init$$27$adapted(SparkQueryTests.scala:180)
at org.apache.kyuubi.operation.JDBCTestHelper.$anonfun$withMultipleConnectionJdbcStatement$3(JDBCTestHelper.scala:60)
at org.apache.kyuubi.operation.JDBCTestHelper.$anonfun$withMultipleConnectionJdbcStatement$3$adapted(JDBCTestHelper.scala:60)
at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
...
Cause: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
at java.sql.Timestamp.valueOf(Timestamp.java:204)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.evaluate(KyuubiBaseResultSet.java:438)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getColumnValue(KyuubiBaseResultSet.java:418)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getObject(KyuubiBaseResultSet.java:458)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getTimestamp(KyuubiBaseResultSet.java:562)
at org.apache.kyuubi.jdbc.hive.KyuubiBaseResultSet.getTimestamp(KyuubiBaseResultSet.java:576)
at org.apache.kyuubi.operation.SparkQueryTests.$anonfun$$init$$27(SparkQueryTests.scala:184)
at org.apache.kyuubi.operation.SparkQueryTests.$anonfun$$init$$27$adapted(SparkQueryTests.scala:180)
at org.apache.kyuubi.operation.JDBCTestHelper.$anonfun$withMultipleConnectionJdbcStatement$3(JDBCTestHelper.scala:60)
at org.apache.kyuubi.operation.JDBCTestHelper.$anonfun$withMultipleConnectionJdbcStatement$3$adapted(JDBCTestHelper.scala:60)
...
Affects Version(s)
master with spark-master profile
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!