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

[Improvement] Get MySQL table meta information from JDBC meta #2934

Closed
zhoukangcn opened this issue Apr 14, 2024 · 0 comments · Fixed by #2935
Closed

[Improvement] Get MySQL table meta information from JDBC meta #2934

zhoukangcn opened this issue Apr 14, 2024 · 0 comments · Fixed by #2935
Assignees
Labels
improvement Improvements on everything

Comments

@zhoukangcn
Copy link
Contributor

What would you like to be improved?

We use SHOW TABLES in listTables now.

https://github.com/datastrato/gravitino/blob/9128db0d2f4bc57dbfb410b51db17887e335cba4/catalogs/catalog-jdbc-mysql/src/main/java/com/datastrato/gravitino/catalog/mysql/operation/MysqlTableOperations.java#L60

use JDBC metadata instead.

How should we improve?

No response

@zhoukangcn zhoukangcn added the improvement Improvements on everything label Apr 14, 2024
@jerryshao jerryshao added this to the Gravitino 0.5.0 milestone Apr 15, 2024
FANNG1 pushed a commit that referenced this issue Apr 15, 2024
…ly SQL (#2935)

### What changes were proposed in this pull request?

use metaData.getTables instead of directly SQL

### Why are the changes needed?

Fix: #2934

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

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

Successfully merging a pull request may close this issue.

2 participants