arina-ielchiieva commented on a change in pull request #1365: DRILL-6575: Add 
store.hive.conf.properties option to allow set Hive properties at session level
URL: https://github.com/apache/drill/pull/1365#discussion_r200813513
 
 

 ##########
 File path: 
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/planner/sql/logical/ConvertHiveParquetScanToDrillParquetScan.java
 ##########
 @@ -161,7 +161,7 @@ private DrillScanRel createNativeScanRel(final Map<String, 
String> partitionColM
     // Create the list of projected columns set in HiveScan. The order of this 
list may not be same as the order of
     // columns in HiveScan row type. Note: If the HiveScan.getColumn() 
contains a '*', we just need to add it as it is,
     // unlike above where we expanded the '*'. HiveScan and related (subscan) 
can handle '*'.
-    final List<SchemaPath> nativeScanCols = Lists.newArrayList();
+    final List<SchemaPath> nativeScanCols = new ArrayList<>();
     for(SchemaPath colName : hiveScanRel.getColumns()) {
 
 Review comment:
   Done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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