apache / amoro

Apache Amoro (incubating) is a Lakehouse management system built on open data lake formats.
https://amoro.apache.org/
Apache License 2.0
837 stars 276 forks source link

[Bug]: Click snapshotId cannot be displayed normally #3149

Closed zhongqishang closed 1 week ago

zhongqishang commented 2 weeks ago

What happened?

image

Affects Versions

master

What table formats are you seeing the problem on?

Iceberg

What engines are you seeing the problem on?

AMS

How to reproduce

No response

Relevant log output

java.lang.IllegalArgumentException: unknown snapshot 9029332474947663360 of iceberg.ods_iceberg.gen_sink_olap_test
    at org.apache.amoro.server.dashboard.MixedAndIcebergTableDescriptor.getSnapshotDetail(MixedAndIcebergTableDescriptor.java:354) ~[classes/:?]
    at org.apache.amoro.server.dashboard.ServerTableDescriptor.getSnapshotDetail(ServerTableDescriptor.java:86) ~[classes/:?]
    at org.apache.amoro.server.dashboard.controller.TableController.getSnapshotDetail(TableController.java:398) ~[classes/:?]

Anything else

No response

Are you willing to submit a PR?

Code of Conduct

zhongqishang commented 2 weeks ago

The method org.apache.amoro.table.descriptor.FormatTableDescriptor#getSnapshotDetail parameter type changes caused by. @baiyangtx snapshotId need change to long?