Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In CALCITE-522, we added a mechanism where constant database properties – that is, methods of DatabaseMetaData that take 0 arguments and return the same value for all connections – are transmitted once, in a map.
We need to convert the remaining methods.
1. Add a constant to enum Meta.DatabaseProperty for each such method. Its default value should probably be the value currently returned by the method in AvaticaDatabaseMetaData.
2. Change the AvaticaDatabaseMetaData method to read the value, similar to getDefaultTransactionIsolation.
3. If necessary (i.e. Calcite's value is not the default) change CalciteMetaImpl.addProperty, as for GET_NUMERIC_FUNCTIONS.
Attachments
Issue Links
- supercedes
-
CALCITE-522 In remote JDBC driver, transmit static database properties as a map
- Closed