drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vvysotskyi <...@git.apache.org>
Subject [GitHub] drill pull request #1066: DRILL-3993: Changes to support Calcite 1.15
Date Thu, 21 Dec 2017 13:37:41 GMT
Github user vvysotskyi commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1066#discussion_r158258329
  
    --- Diff: contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseSchemaFactory.java
---
    @@ -72,7 +72,16 @@ public AbstractSchema getSubSchema(String name) {
         @Override
         public Table getTable(String name) {
           HBaseScanSpec scanSpec = new HBaseScanSpec(name);
    -      return new DrillHBaseTable(schemaName, plugin, scanSpec);
    +      try {
    +        return new DrillHBaseTable(schemaName, plugin, scanSpec);
    +      } catch (Exception e) {
    +        // Calcite firstly is looking for a table in the default schema, if a table was
not found,
    --- End diff --
    
    Thanks, done.


---

Mime
View raw message