Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
[TRAFODION-3171] Refactor Hive sequence file reading to use the new i…
Browse files Browse the repository at this point in the history
…mplementation

Changes possibly fix the hive/TEST006 failure in daily build.
  • Loading branch information
selvaganesang committed Aug 8, 2018
1 parent affc9db commit 39d7110
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/sql/src/main/java/org/trafodion/sql/HdfsScan.java
Expand Up @@ -177,8 +177,12 @@ public void scheduleHdfsScanRange(int bufNo, int bytesCompleted) throws IOExcept
} catch (EOFException e)
{
// Skip this range
currRange_++;
scheduleHdfsScanRange(bufNo, 0);
if (currRange_ == (hdfsScanRanges_.length-1))
scanCompleted_ = true;
else {
currRange_++;
scheduleHdfsScanRange(bufNo, 0);
}
}
}
}
Expand Down

0 comments on commit 39d7110

Please sign in to comment.