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

[#2085] improvement(jdbc-mysql): Remove depends on JDBC system table. #2616

Merged
merged 7 commits into from
Apr 9, 2024

Conversation

yuqi1129
Copy link
Contributor

What changes were proposed in this pull request?

Use the JDBC connection meta to replace it with the JDBC system table to obtain schema information.

Why are the changes needed?

We shouldn't assume that we have access to system tables, which are frequently protected by ACLs.

Fix: #2085

Does this PR introduce any user-facing change?

N/A.

How was this patch tested?

Current tests can cover this changs.

@yuqi1129 yuqi1129 self-assigned this Mar 20, 2024
@jerryshao jerryshao requested a review from FANNG1 March 21, 2024 04:08
@jerryshao
Copy link
Contributor

@FANNG1 can you please help to review this.

@yuqi1129
Copy link
Contributor Author

@FANNG1
Could you please take some time to review it again?

@FANNG1
Copy link
Contributor

FANNG1 commented Apr 8, 2024

LGTM, except minor comment

@FANNG1 FANNG1 merged commit 5242e25 into apache:main Apr 9, 2024
22 checks passed
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.

[Improvement] Avoid using system table for MySQL catalogs
3 participants