Skip to content

Commit 8e796b0

Browse files
guojn1githubgxll
authored andcommitted
[fix][dingo-sdk] Add smallint to typeMapper
1 parent 30fcaf7 commit 8e796b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/dingo-sdk/src/main/java/io/dingodb/sdk/common/utils/TypeSchemaMapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public class TypeSchemaMapper {
1313
addScalaTypeSchemaMapping("INT", IntegerSchema::new);
1414
addScalaTypeSchemaMapping("INTEGER", IntegerSchema::new);
1515
addScalaTypeSchemaMapping("TINYINT", IntegerSchema::new);
16+
addScalaTypeSchemaMapping("SMALLINT", IntegerSchema::new);
1617
addScalaTypeSchemaMapping("LONG", LongSchema::new);
1718
addScalaTypeSchemaMapping("BIGINT", LongSchema::new);
1819
addScalaTypeSchemaMapping("BIT", BitSchema::new);

0 commit comments

Comments
 (0)