[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:
@ -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);
|
||||
}
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user