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