Skip to content

Commit 275f350

Browse files
authored
parser: Add FLOAT4,FLOAT8 and MIDDLEINT compatibility types (#46649)
* parser: Add FLOAT4,FLOAT8 and MIDDLEINT compatibility types
1 parent 36155bc commit 275f350

File tree

4 files changed

+9977
-9908
lines changed

4 files changed

+9977
-9908
lines changed

parser/misc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ var tokenMap = map[string]int{
374374
"FIXED": fixed,
375375
"FLASHBACK": flashback,
376376
"FLOAT": floatType,
377+
"FLOAT4": float4Type,
378+
"FLOAT8": float8Type,
377379
"FLUSH": flush,
378380
"FOLLOWER": follower,
379381
"FOLLOWERS": followers,
@@ -517,6 +519,7 @@ var tokenMap = map[string]int{
517519
"MERGE": merge,
518520
"METADATA": metadata,
519521
"MICROSECOND": microsecond,
522+
"MIDDLEINT": middleIntType,
520523
"MIN_ROWS": minRows,
521524
"MIN": min,
522525
"MINUTE_MICROSECOND": minuteMicrosecond,

0 commit comments

Comments
 (0)