[fix](iceberg) fix querying iceberg partition table error#57571
[fix](iceberg) fix querying iceberg partition table error#57571morningman merged 4 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
ClickBench: Total hot run time: 27.57 s |
FE Regression Coverage ReportIncrement line coverage |
… snapshot ID when partition snapshot ID is unavailable, improving error handling for empty tables.
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
TPC-DS: Total hot run time: 189550 ms |
ClickBench: Total hot run time: 27.55 s |
FE UT Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
TPC-DS: Total hot run time: 188805 ms |
ClickBench: Total hot run time: 27.91 s |
FE UT Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
TPC-DS: Total hot run time: 190374 ms |
ClickBench: Total hot run time: 27.44 s |
|
PR approved by at least one committer and no changes requested. |
### What problem does this PR solve? Problem Summary: java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "org.apache.iceberg.StructLike.get(int, java.lang.Class)" is null at org.apache.doris.datasource.iceberg.IcebergUtils.generateIcebergPartition(IcebergUtils.java:1185) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.iceberg.IcebergUtils.loadIcebergPartition(IcebergUtils.java:1132)
### What problem does this PR solve? Problem Summary: java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "org.apache.iceberg.StructLike.get(int, java.lang.Class)" is null at org.apache.doris.datasource.iceberg.IcebergUtils.generateIcebergPartition(IcebergUtils.java:1185) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.iceberg.IcebergUtils.loadIcebergPartition(IcebergUtils.java:1132)
### What problem does this PR solve? Problem Summary: java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "org.apache.iceberg.StructLike.get(int, java.lang.Class)" is null at org.apache.doris.datasource.iceberg.IcebergUtils.generateIcebergPartition(IcebergUtils.java:1185) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.iceberg.IcebergUtils.loadIcebergPartition(IcebergUtils.java:1132)
### What problem does this PR solve? Problem Summary: java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "org.apache.iceberg.StructLike.get(int, java.lang.Class)" is null at org.apache.doris.datasource.iceberg.IcebergUtils.generateIcebergPartition(IcebergUtils.java:1185) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.iceberg.IcebergUtils.loadIcebergPartition(IcebergUtils.java:1132)
What problem does this PR solve?
Problem Summary:
java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "org.apache.iceberg.StructLike.get(int, java.lang.Class)" is null at org.apache.doris.datasource.iceberg.IcebergUtils.generateIcebergPartition(IcebergUtils.java:1185) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.datasource.iceberg.IcebergUtils.loadIcebergPartition(IcebergUtils.java:1132)
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)