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

optimize: support case-sensitive attributes for table and column metadata #5647

Merged
merged 1 commit into from Jun 14, 2023

Conversation

slievrly
Copy link
Member

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

support case-sensitive attributes for table and column metadata

Ⅱ. Does this pull request fix one issue?

fix #5553

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

…data

Signed-off-by: slievrly <slievrly@163.com>
@slievrly slievrly added this to the 1.7.0 milestone Jun 14, 2023
@slievrly slievrly merged commit 8311743 into apache:develop Jun 14, 2023
7 checks passed
@@ -106,6 +106,9 @@ private TableMeta resultSetMetaToSchema(ResultSetMetaData rsmd, DatabaseMetaData

TableMeta tm = new TableMeta();
tm.setTableName(tableName);
//always true and nothing to do with escape characters for mysql.
// May be not consistent with lower_case_table_names
tm.setCaseSensitive(true);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not use SHOW VARIABLES LIKE 'lower_case_table_names'. 其他几个db同理

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.

None yet

2 participants