Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim_konstantinov committed Aug 7, 2024
1 parent 21a5926 commit c521a95
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,13 @@ public void processBlocks() throws IOException {
ColumnPath colPath =
ColumnPath.get(outColumns.get(outColumnIdx).getPath());
if (readerJoin != null) {
Optional<ColumnChunkMetaData> chunkJoin =
Optional<ColumnChunkMetaData> chunkToJoin =
readerJoin.getFooter().getBlocks().get(blockIdxJoin).getColumns().stream()
.filter(x -> x.getPath().equals(colPath))
.findFirst();
if (chunkJoin.isPresent()
if (chunkToJoin.isPresent()
&& (overwriteInputWithJoinColumns || !columnPaths.contains(colPath))) {
processBlock(readerJoin, blockIdxJoin, outColumnIdx, indexCacheJoin, chunkJoin.get());
processBlock(readerJoin, blockIdxJoin, outColumnIdx, indexCacheJoin, chunkToJoin.get());
} else {
processBlock(reader, blockIdx, outColumnIdx, indexCache, pathToChunk.get(colPath));
}
Expand Down

0 comments on commit c521a95

Please sign in to comment.