Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
9.0.0
Description
Current implementation include catalog,table,column,type metadata, but schema metadata field is missing. In terms of PostgreSQL catalog - is database, schema - namespace inside database, so catalog name is insufficient for table addressing without schema.
Proposed changes is:
metadata.put(Constants.SQL_CATALOG_NAME_KEY, rsmd.getCatalogName(i)); metadata.put(Constants.SQL_SCHEMA_KEY, rsmd.getSchemaName(i)); metadata.put(Constants.SQL_TABLE_NAME_KEY, rsmd.getTableName(i)); metadata.put(Constants.SQL_COLUMN_NAME_KEY, columnName); metadata.put(Constants.SQL_TYPE_KEY, rsmd.getColumnTypeName(i));
But this fix required to change assertions for metadata checks in many tests in arrow-jdbc module
Attachments
Issue Links
- links to