arina-ielchiieva commented on a change in pull request #1988: DRILL-7590: 
Refactor plugin registry
URL: https://github.com/apache/drill/pull/1988#discussion_r383957031
 
 

 ##########
 File path: 
contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseUtils.java
 ##########
 @@ -158,10 +157,9 @@ public static void verifyColumns(List<SchemaPath> 
columns, HTableDescriptor hTab
     for (SchemaPath column : columns) {
       if (!(column.equals(DrillHBaseConstants.ROW_KEY_PATH) ||
           
hTableDesc.hasFamily(HBaseUtils.getBytes(column.getRootSegment().getPath())))) {
-        DrillRuntimeException.format("The column family '%s' does not exist in 
HBase table: %s .",
+        throw DrillRuntimeException.create("The column family '%s' does not 
exist in HBase table: %s .",
 
 Review comment:
   ```suggestion
           throw DrillRuntimeException.create("The column family '%s' does not 
exist in HBase table: %s.",
   ```

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