Skip to content

Commit

Permalink
Support postgresql and opengauss CHARACTER VARYING type metadata load (
Browse files Browse the repository at this point in the history
…#34221)

* Support postgresql and opengauss CHARACTER VARYING type metadata load

* update release note
  • Loading branch information
strongduanmu authored Jan 2, 2025
1 parent 1138cde commit 680c0db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
1. Pipeline: Use case-insensitive identifiers to enhance the table metadata loader
1. Pipeline: Support primary key columns ordering for standard pipeline table metadata loader
1. Sharding: Optimize sharding table index name rewriting rules and remove unnecessary suffix rewriting - [#31171](https://github.com/apache/shardingsphere/issues/31171)
1. Metadata: Support postgresql and opengauss CHARACTER VARYING type metadata load - [#34221](https://github.com/apache/shardingsphere/pull/34221)

### Bug Fixes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public Map<String, Integer> getExtraDataTypes() {
result.put("NUMERIC", Types.NUMERIC);
result.put("REAL", Types.REAL);
result.put("BOOL", Types.BOOLEAN);
result.put("CHARACTER VARYING", Types.VARCHAR);
return result;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public Map<String, Integer> getExtraDataTypes() {
result.put("NUMERIC", Types.NUMERIC);
result.put("REAL", Types.REAL);
result.put("BOOL", Types.BOOLEAN);
result.put("CHARACTER VARYING", Types.VARCHAR);
return result;
}

Expand Down

0 comments on commit 680c0db

Please sign in to comment.