Skip to content

Commit f95f0d9

Browse files
author
gituser
committed
Merge branch 'hotfix_1.8_release_3.10_x_31226' into 1.8_release_3.10.x
2 parents 122b25c + a43ae35 commit f95f0d9

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)