Closed yuqi1129 closed 1 week ago
Do we have a similar problem in PG and Doris?
Do we have a similar problem in PG and Doris?
Yes, I have checked, the changes in the PR is in the module jdbc-common
and will fix a similar issue in all JDBC catalogs.
@yuqi1129 can you please move forward this PR?
@yuqi1129 can you please move forward this PR?
Yeah, A related PR has just been merged, I will rebase it soon.
@danhuawang Could you kindly verify if the performance test has returned to normal since today? It appears that this issue has been resolved by https://github.com/datastrato/gravitino/pull/3316.
@danhuawang confirmed that the problem has been resolved by #3316 and the PR will be temporarily closed.
What changes were proposed in this pull request?
Set the connection database to the database passed by the method when getting the JDBC connection.
Why are the changes needed?
connection.getSchema()
is null for MySQL and thus will cause the problem that list operation will get all tables in the MySQL instance NOT a specific database.Fix: #3002
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
New UT was added.