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

[rpc] Remove describeLakeStorage to get LakeStorageInfo from table properties #503

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SteNicholas
Copy link
Contributor

@SteNicholas SteNicholas commented Feb 27, 2025

Purpose

Linked issue: close #411

LakeStorageInfo is forwarded info to table properties in #362. Therefore, describeLakeStorage could be removed since LakeStorageInfo has been in table properties.

Brief change log

  1. Remove describeLakeStorage to get LakeStorageInfo from table properties via LakeStorageUtils#getLakeStorageInfo.
  2. Remove lakeStorageInfo in LakeSnapshot.
  3. Fix MetadataManager#getTable(TablePath tablePath) to fill in TableInfo with datalake properties.

Tests

CI.

API and Format

Remove Admin#describeLakeStorage.

Documentation

No.

@SteNicholas SteNicholas marked this pull request as draft February 27, 2025 09:58
@SteNicholas SteNicholas marked this pull request as ready for review February 28, 2025 01:46
@SteNicholas SteNicholas force-pushed the FLUSS-411 branch 3 times, most recently from f4e2326 to 7d39de6 Compare February 28, 2025 03:16
@SteNicholas
Copy link
Contributor Author

Ping @wuchong, @luoyuxia.

Copy link
Collaborator

@luoyuxia luoyuxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SteNicholas Thanks for the pr. Left some comments..
Also, since the lake storage info can be retrieved from table, the LakeStorageInfo in LakeSnapshot can also be removed.

@SteNicholas
Copy link
Contributor Author

@wuchong, @luoyuxia, I have addressed above comments in f14578e. PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove describeLakeStorage
3 participants