diff --git a/datavines-connector/datavines-connector-plugins/datavines-connector-hive/src/main/java/io/datavines/connector/plugin/HiveConnector.java b/datavines-connector/datavines-connector-plugins/datavines-connector-hive/src/main/java/io/datavines/connector/plugin/HiveConnector.java index 8b644bd77..900c227b2 100644 --- a/datavines-connector/datavines-connector-plugins/datavines-connector-hive/src/main/java/io/datavines/connector/plugin/HiveConnector.java +++ b/datavines-connector/datavines-connector-plugins/datavines-connector-hive/src/main/java/io/datavines/connector/plugin/HiveConnector.java @@ -35,6 +35,16 @@ public BaseJdbcDataSourceInfo getDatasourceInfo(JdbcConnectionInfo jdbcConnectio return new HiveDataSourceInfo(jdbcConnectionInfo); } + @Override + public ResultSet getMetadataColumns(DatabaseMetaData metaData, String catalog, String schema, String tableName, String columnName) throws SQLException { + return metaData.getColumns(null, catalog, tableName, columnName); + } + + @Override + protected ResultSet getMetadataTables(DatabaseMetaData metaData, String catalog, String schema) throws SQLException { + return metaData.getTables(null, catalog, null, TABLE_TYPES); + } + @Override protected ResultSet getPrimaryKeys(DatabaseMetaData metaData, String catalog, String schema, String tableName) throws SQLException { return null;