Skip to content

Commit

Permalink
fix array max length
Browse files Browse the repository at this point in the history
  • Loading branch information
shirly121 committed Jan 1, 2025
1 parent efeafa2 commit eb31561
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,10 @@ public GSDataTypeDesc convert(RelDataType from) {
"component_type",
componentType,
"max_length",
Integer.MAX_VALUE));
from.getPrecision()
== RelDataType.PRECISION_NOT_SPECIFIED
? Integer.MAX_VALUE
: from.getPrecision()));
break;
case MAP:
Map<String, Object> keyType;
Expand Down

0 comments on commit eb31561

Please sign in to comment.