You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
Version
v1.2.642-nightly
What's Wrong?
Table and column comments using jdbc are wrapped in single quotes, which are not actually comments and need to be remove.
We found that the jdbc for mysql or databend is fetched from information_schema.columns and information_schema.tables.
Search before asking
Version
v1.2.642-nightly
What's Wrong?
Table and column comments using jdbc are wrapped in single quotes, which are not actually comments and need to be remove.
We found that the jdbc for mysql or databend is fetched from
information_schema.columns
andinformation_schema.tables
.databend/src/query/storages/system/src/columns_table.rs
Lines 207 to 226 in 3036fa8
How to Reproduce?
trying to fix databend-jdbc issue databendlabs/databend-jdbc#285
We try to do it in a regular way can we change it in the relevant code?
REGEXP_REPLACE(comment, '^\\'(.+)\\'$', '$1')
databend/src/query/storages/information_schema/src/columns_table.rs
Lines 29 to 62 in 3036fa8
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: