[fix](Variant Type) Fixes the desc failure (#28343)

fix the desc failure when there is no decomposition of columns in the variant column.
This commit is contained in:
Sun Chenyang
2023-12-14 13:20:43 +08:00
committed by GitHub
parent 79f03d6fde
commit e5a57f82ec
4 changed files with 20 additions and 6 deletions

View File

@ -68,9 +68,6 @@ public class RemoteIndexSchemaProcDir implements ProcDirInterface {
table.readUnlock();
}
List<Column> remoteSchema = new FetchRemoteTabletSchemaUtil(tablets).fetch();
if (remoteSchema == null || remoteSchema.isEmpty()) {
throw new AnalysisException("fetch remote tablet schema failed");
}
this.schema.addAll(remoteSchema);
return IndexSchemaProcNode.createResult(this.schema, this.bfColumns);
}

View File

@ -63,9 +63,6 @@ public class RemoteIndexSchemaProcNode implements ProcNodeInterface {
}
}
List<Column> remoteSchema = new FetchRemoteTabletSchemaUtil(tablets).fetch();
if (remoteSchema == null || remoteSchema.isEmpty()) {
throw new AnalysisException("fetch remote tablet schema failed");
}
this.schema.addAll(remoteSchema);
return IndexSchemaProcNode.createResult(this.schema, this.bfColumns);
}