Skip to content

Commit

Permalink
[fix](Nereids) support variant column with index when create table (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
morrySnow authored and eldenmoon committed Apr 1, 2024
1 parent bec153b commit cba9b3b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ public void checkColumn(ColumnDefinition column, KeysType keysType,
}
if (!(colType.isDateLikeType() || colType.isDecimalLikeType()
|| colType.isIntegralType() || colType.isStringLikeType()
|| colType.isBooleanType())) {
// TODO add colType.isVariantType() and colType.isAggState()
|| colType.isBooleanType() || colType.isVariantType())) {
// TODO add colType.isAggState()
throw new AnalysisException(colType + " is not supported in " + indexType.toString()
+ " index. " + "invalid index: " + name);
}
Expand Down

0 comments on commit cba9b3b

Please sign in to comment.