Skip to content

[spark] refine the format when desc table (#2675)#2802

Open
Akash073-hub wants to merge 1 commit intoapache:mainfrom
Akash073-hub:fix/desc-formatted-table-output
Open

[spark] refine the format when desc table (#2675)#2802
Akash073-hub wants to merge 1 commit intoapache:mainfrom
Akash073-hub:fix/desc-formatted-table-output

Conversation

@Akash073-hub
Copy link

What this PR does

Fixes #2675

  • Fix name() to return table name instead of tableInfo.toString which
    was causing the full TableInfo blob to appear in DESC FORMATTED output
  • Clean up properties() to only expose user-defined custom properties
    via getCustomProperties(), preventing internal metadata (tableId,
    schemaId, timestamps etc.) from polluting DESC FORMATTED output
  • Remove unused imports (TablePath, FlussConfiguration)

- Fix name() to return table name instead of tableInfo.toString
- Clean up properties() to only expose user-defined custom properties
- Remove unused imports (TablePath, FlussConfiguration)
@Akash073-hub
Copy link
Author

Hey @YannByron, I've submitted a PR for this issue!

Here's what I changed:

  • Fixed name() to return the table name instead of tableInfo.toString which was causing the full TableInfo blob to appear in DESC FORMATTED output
  • Cleaned up properties() to only expose user-defined custom properties by getCustomProperties(), preventing internal metadata (tableId, schemaId, timestamps etc.) from polluting the output
  • Removed unused imports

Review once if you need any changes then tell me.Thank you!!

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.

[spark] refine the format when desc table

1 participant