arina-ielchiieva commented on a change in pull request #1819: DRILL-7313: Use 
Hive schema for MaprDB native reader when field was empty
URL: https://github.com/apache/drill/pull/1819#discussion_r299878150
 
 

 ##########
 File path: 
contrib/storage-hive/core/scrMapr/main/java/org/apache/drill/exec/planner/sql/logical/ConvertHiveMapRDBJsonScanToDrillMapRDBJsonScan.java
 ##########
 @@ -105,7 +114,7 @@ Hive does not always give correct costing (i.e. for 
external tables Hive does no
         To ensure Drill MapR-DB Json scan will be chosen, reduce Hive scan 
importance to 0.
        */
       call.getPlanner().setImportance(hiveScanRel, 0.0);
-    } catch (DrillRuntimeException e) {
+    } catch (DrillRuntimeException | IOException e) {
 
 Review comment:
   Maybe just catch Exception we won't want to fail in any case.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to