[HUDI-4277] supoort flink table source with computed column (#5897)
Co-authored-by: chenshizhi <chenshizhi@bilibili.com>
This commit is contained in:
@@ -156,7 +156,7 @@ public class HoodieTableSource implements
|
||||
this.fileIndex = FileIndex.instance(this.path, this.conf);
|
||||
this.requiredPartitions = requiredPartitions;
|
||||
this.requiredPos = requiredPos == null
|
||||
? IntStream.range(0, schema.getColumnCount()).toArray()
|
||||
? IntStream.range(0, schema.toPhysicalRowDataType().getChildren().size()).toArray()
|
||||
: requiredPos;
|
||||
this.limit = limit == null ? NO_LIMIT_CONSTANT : limit;
|
||||
this.filters = filters == null ? Collections.emptyList() : filters;
|
||||
|
||||
Reference in New Issue
Block a user