Skip to content

Commit

Permalink
[fix](Nereids) add int type alias 'integer' (apache#25376)
Browse files Browse the repository at this point in the history
  • Loading branch information
morrySnow authored Oct 16, 2023
1 parent 4c57c31 commit 934d828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ dataType
primitiveColType:
| type=TINYINT
| type=SMALLINT
| (SIGNED | UNSIGNED)? type=INT
| (SIGNED | UNSIGNED)? type=(INT | INTEGER)
| type=BIGINT
| type=LARGEINT
| type=BOOLEAN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public static DataType convertPrimitiveFromStrings(List<String> types, boolean u
dataType = SmallIntType.INSTANCE;
break;
case "int":
case "integer":
dataType = IntegerType.INSTANCE;
break;
case "bigint":
Expand Down

0 comments on commit 934d828

Please sign in to comment.