Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 of 4 tasks
jackyjfhu opened this issue Sep 2, 2024 · 3 comments
Open
3 of 4 tasks
Labels
kind:bug This is a clearly a bug priority:major

Comments

@jackyjfhu
Copy link

jackyjfhu commented Sep 2, 2024

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.
@jackyjfhu jackyjfhu added kind:bug This is a clearly a bug priority:major labels Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

Hello @jackyjfhu,
Thanks for finding the time to report the issue!
We really appreciate the community's efforts to improve Apache Kyuubi.

@pan3793
Copy link
Member

pan3793 commented Sep 4, 2024

what's your Hive BeeLine, Spark's version? And what's your table schema? Does the issue happen with Kyuubi BeeLine?

BTW, please provide text content as much as possible, pictures are neither searchable nor copyable.

@jackyjfhu jackyjfhu changed the title [Bug] Kyuubi Spark Nightly failed - select type_all_table_4 *** FAILED *** [Bug] Kyuubi Spark Nightly failed - select * from test_iceberg *** FAILED *** Sep 10, 2024
@jackyjfhu
Copy link
Author

jackyjfhu commented Sep 10, 2024

what's your Hive BeeLine, Spark's version? And what's your table schema? Does the issue happen with Kyuubi BeeLine?

BTW, please provide text content as much as possible, pictures are neither searchable nor copyable.

thank you,I have updated the relevant information, please help me take a look @pan3793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug priority:major
Projects
None yet
Development

No branches or pull requests

2 participants