[performance](variant) support topn 2phase read for variant column (#28318)

[performance](variant) support topn 2phase read for variant column
This commit is contained in:
lihangyu
2023-12-25 11:50:41 +08:00
committed by GitHub
parent 6de797844d
commit e9e1e2894b
20 changed files with 261 additions and 110 deletions

View File

@ -829,8 +829,7 @@ public class SelectStmt extends QueryStmt {
LOG.debug("only support duplicate key or MOW model");
return false;
}
if (!olapTable.getEnableLightSchemaChange() || !Strings.isNullOrEmpty(olapTable.getStoragePolicy())
|| olapTable.hasVariantColumns()) {
if (!olapTable.getEnableLightSchemaChange()) {
return false;
}
if (getOrderByElements() != null) {