Julian Hyde created CALCITE-701:
-----------------------------------
Summary: Add remaining DatabaseMetaData methods to enum
DatabaseProperty
Key: CALCITE-701
URL: https://issues.apache.org/jira/browse/CALCITE-701
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)