nihal0107 commented on a change in pull request #3936:
URL: https://github.com/apache/carbondata/pull/3936#discussion_r490870410
##########
File path:
integration/hive/src/main/java/org/apache/carbondata/hive/MapredCarbonInputFormat.java
##########
@@ -154,8 +154,16 @@ private static CarbonTable getCarbonTable(Configuration
configuration, String pa
} else {
carbonInputFormat = new CarbonFileInputFormat<>();
}
- List<org.apache.hadoop.mapreduce.InputSplit> splitList =
- carbonInputFormat.getSplits(jobContext);
+ List<org.apache.hadoop.mapreduce.InputSplit> splitList;
+ try {
+ splitList = carbonInputFormat.getSplits(jobContext);
+ } catch (IOException ex) {
+ if (ex.getMessage().contains("No Index files are present in the table
location :")) {
Review comment:
The external table is not getting queried from this getSplits() of this
file.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]