[fix](nereids)index type should be converted to upper case for later comparasion (#29524)
This commit is contained in:
@ -2453,7 +2453,7 @@ public class LogicalPlanBuilder extends DorisParserBaseVisitor<Object> {
|
||||
String indexName = ctx.indexName.getText();
|
||||
List<String> indexCols = visitIdentifierList(ctx.cols);
|
||||
Map<String, String> properties = visitPropertyItemList(ctx.properties);
|
||||
String indexType = ctx.indexType != null ? ctx.indexType.getText() : null;
|
||||
String indexType = ctx.indexType != null ? ctx.indexType.getText().toUpperCase() : null;
|
||||
String comment = ctx.comment != null ? ctx.comment.getText() : "";
|
||||
return new IndexDefinition(indexName, indexCols, indexType, properties, comment);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user