You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2020/07/29 07:20:42 UTC
[GitHub] [carbondata] VenuReddy2103 commented on a change in pull request #3857: [CARBONDATA-3914] Fixed issue on reading data from carbon table through hive beeline when no data is present in table.
VenuReddy2103 commented on a change in pull request #3857:
URL: https://github.com/apache/carbondata/pull/3857#discussion_r461385726
##########
File path: integration/hive/src/main/java/org/apache/carbondata/hive/MapredCarbonInputFormat.java
##########
@@ -116,7 +117,10 @@ private static CarbonTable getCarbonTable(Configuration configuration, String pa
try {
carbonTable = getCarbonTable(jobContext.getConfiguration(),
jobContext.getConfiguration().get(hive_metastoreConstants.META_TABLE_LOCATION));
- } catch (Exception e) {
+ } catch (FileNotFoundException e) {
+ return new InputSplit[0];
+ }
+ catch (Exception e) {
Review comment:
formatting issue. Suggest to move it to previous line.
----------------------------------------------------------------
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:
users@infra.apache.org