Skip to content

Commit a43ae35

Browse files
committed
hotfix 31226 orc查询pt
1 parent 389d7fc commit a43ae35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flinkx-hdfs/flinkx-hdfs-reader/src/main/java/com/dtstack/flinkx/hdfs/reader/HdfsOrcInputFormat.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ private void openOrcReader(InputSplit inputSplit) throws IOException{
102102
numReadCounter = getRuntimeContext().getLongCounter("numRead");
103103
HdfsOrcInputSplit hdfsOrcInputSplit = (HdfsOrcInputSplit) inputSplit;
104104
OrcSplit orcSplit = hdfsOrcInputSplit.getOrcSplit();
105+
findCurrentPartition(orcSplit.getPath());
105106
recordReader = inputFormat.getRecordReader(orcSplit, conf, Reporter.NULL);
106107
key = recordReader.createKey();
107108
value = recordReader.createValue();

0 commit comments

Comments
 (0)