apache / amoro

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

[AMORO-3065] Optimizing rest api efficiency for table detail #3260

Closed klion26 closed 1 month ago

klion26 commented 1 month ago

Why are the changes needed?

Close #3065.

Brief change log

For table detail we'll retrive detail info from underlying table, before the change there will be two call to the catalog when loading the table: 1) check whether the database exists, 2) load the table for the detail info. After the change, the first call to catalog has been removed, and use the second call to check if the table exists.

How was this patch tested?

Documentation

klion26 commented 1 month ago

@zhoujinsong @majin1102 could you please have a look when you're free, thanks.

zhoujinsong commented 1 month ago

Thanks for the work! @klion26

klion26 commented 1 month ago

@baiyangtx @zhoujinsong thanks for the review and merging!