Github user jackylk commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/262#discussion_r87716071 --- Diff: hadoop/src/main/java/org/apache/carbondata/hadoop/CarbonInputFormat.java --- @@ -224,42 +221,29 @@ private void addSegmentsIfEmpty(JobContext job, AbsoluteTableIdentifier absolute * @return List<InputSplit> list of CarbonInputSplit * @throws IOException */ - @Override public List<InputSplit> getSplits(JobContext job) throws IOException { - try { + @Override + public List<InputSplit> getSplits(JobContext job) throws IOException { + AbsoluteTableIdentifier identifier = getAbsoluteTableIdentifier(job.getConfiguration()); + addSegmentsIfEmpty(job, identifier); + if (getSegmentsToAccess(job).length == 0) { --- End diff -- If this check is removed, some test case of MergeRDD is failing
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---