Tanya-W commented on code in PR #19063:
URL: https://github.com/apache/doris/pull/19063#discussion_r1193443813
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/IndexDef.java:
##########
@@ -73,7 +75,24 @@ public IndexDef(String indexName, boolean ifNotExists,
List<String> columns, Ind
}
}
+ public IndexDef(String indexName, PartitionNames partitionNames, boolean
isBuildDeferred) {
+ this.indexName = indexName;
+ this.indexType = IndexType.INVERTED;
+ this.partitionNames = partitionNames;
+ this.isBuildDeferred = isBuildDeferred;
+ }
+
public void analyze() throws AnalysisException {
+ if (isBuildDeferred && indexType == IndexDef.IndexType.INVERTED) {
Review Comment:
will take the later branch
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]