Skip to content

[Bug] Kyuubi Spark Nightly failed - select * from test_iceberg *** FAILED *** #6656

Open
@jackyjfhu

Description

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

/usr/local/service/kyuubi/bin/beeline -u 'jdbc:hive2://XXXX:10009/default;principal=hadoop/_HOST@XXX;kyuubi.engine.type=spark'
create table test_iceberg(column1 TIMESTAMP,column2 TIMESTAMP) using iceberg;

INSERT INTO test_iceberg VALUES (TIMESTAMP '9999-12-31 23:59:59.999Z', TIMESTAMP '9999-12-31 23:59:59.999Z');
execute statement - select * from test_iceberg *** FAILED ***

[INFO] [spark-listener-group-shared]    50 %    50 %    50 %    50 %    50 %    50 %    50 %    50 %    50 % (org.apache.spark.scheduler.StatsReportListener(org.apache.spark.internal.Logging.logInfo:60))
java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
        at java.sql.Timestamp.valueOf(Timestamp.java:237)
        at org.apache.hive.jdbc.HiveBaseResultSet.evaluate(HiveBaseResultSet.java:445)
        at org.apache.hive.jdbc.HiveBaseResultSet.getColumnValue(HiveBaseResultSet.java:425)
        at org.apache.hive.jdbc.HiveBaseResultSet.getObject(HiveBaseResultSet.java:467)
        at org.apache.hive.beeline.Rows$Row.<init>(Rows.java:160)
        at org.apache.hive.beeline.BufferedRows.<init>(BufferedRows.java:57)
        at org.apache.hive.beeline.IncrementalRowsWithNormalization.<init>(IncrementalRowsWithNormalization.java:50)
        at org.apache.hive.beeline.BeeLine.print(BeeLine.java:2256)
        at org.apache.hive.beeline.Commands.executeInternal(Commands.java:1026)
        at org.apache.hive.beeline.Commands.execute(Commands.java:1213)
        at org.apache.hive.beeline.Commands.sql(Commands.java:1142)
        at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:1431)
        at org.apache.hive.beeline.BeeLine.execute(BeeLine.java:1293)
        at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:1076)
        at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:538)
        at org.apache.hive.beeline.BeeLine.main(BeeLine.java:520)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:236)
Error: Unrecognized column type:TIMESTAMP_TYPE (state=,code=0)

but,this isssue has fixed in 1.6.0
#2262

Affects Version(s)

kyuubi:1.8.0
Spark:3.4.2

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 would be willing to submit a PR with guidance from the Kyuubi community to fix.
  • No. I cannot submit a PR at this time.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions