public ReadCommittedScope getReadCommitted(JobContext job, AbsoluteTableIdentifier identifier) throws IOException { if (readCommittedScope == null) { ReadCommittedScope readCommittedScope; if (job.getConfiguration().getBoolean(CARBON_TRANSACTIONAL_TABLE, true)) { readCommittedScope = new TableStatusReadCommittedScope(identifier, job.getConfiguration()); } else { readCommittedScope = getReadCommittedScope(job.getConfiguration()); if (readCommittedScope == null) { readCommittedScope = new LatestFilesReadCommittedScope(identifier.getTablePath(), job.getConfiguration()); } } this.readCommittedScope = readCommittedScope; } return readCommittedScope; } }
readCommittedScope = new LatestFilesReadCommittedScope( identifier.getTablePath() + "/Fact/Part0/Segment_null/", job.getConfiguration()); } else { readCommittedScope = getReadCommittedScope(job.getConfiguration()); if (readCommittedScope == null) { readCommittedScope = new LatestFilesReadCommittedScope(identifier.getTablePath(), job .getConfiguration()); } else {