|
|
@@ -154,7 +154,12 @@ public class HandleHelper {
|
|
|
row.put(meta.getColumnLabel(i), getColumnValue(rs, i, type, null));
|
|
|
}
|
|
|
if (withMetaInfo) {
|
|
|
- row.setTableName(meta.getTableName(1));
|
|
|
+ try {
|
|
|
+ row.setTableName(meta.getTableName(1));
|
|
|
+ } catch (SQLException ignore){
|
|
|
+ //issue#I2AGLU@Gitee
|
|
|
+ // Hive等NoSQL中无表的概念,此处报错,跳过。
|
|
|
+ }
|
|
|
row.setFieldNames(row.keySet());
|
|
|
}
|
|
|
return row;
|