Skip to content

Commit

Permalink
remove single quotes for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmikechen committed Oct 29, 2024
1 parent 875f4e9 commit 554dc71
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ public ResultSet getTables(String catalog, String schemaPattern, String tableNam
", table_schema as TABLE_SCHEM" +
", table_name as TABLE_NAME" +
", table_type as TABLE_TYPE" +
", table_comment as REMARKS" +
", REGEXP_REPLACE(table_comment, '^\\'(.+)\\'$', '$1') as REMARKS" +
", '' as TYPE_CAT" +
", engine as TYPE_SCHEM" +
", engine as TYPE_NAME" +
Expand Down Expand Up @@ -985,7 +985,7 @@ private static StringBuilder columnMetaSqlTemplate() {
", column_name as COLUMN_NAME" + // 4
", data_type as TYPE_NAME" + // 5
", nullable as NULLABLE" + // 6
", column_comment as REMARKS" + // 7
", REGEXP_REPLACE(column_comment, '^\\'(.+)\\'$', '$1') as REMARKS" + // 7
", `default` as COLUMN_DEF" + // 8
", ordinal_position as ORDINAL_POSITION" + // 9
", is_nullable as IS_NULLABLE" + // 10
Expand Down

0 comments on commit 554dc71

Please sign in to comment.