Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
A lot of DatabaseMetaData methods are not parameterized, and give the same answer every time. Some examples:
- allProceduresAreCallable
- getUserName
- isReadOnly
- getDatabaseProductName
- getDatabaseProductVersion
- getDriverName
- getDriverVersion
- getDriverMajorVersion
- getDriverMinorVersion
- getSqlKeywords
- getNumericFunctions
- getStringFunctions
- getSystemFunctions
- getTimeDateFunctions
This task would define an enum of properties, add a method to Meta that returns (property, value) map.
See DatabaseMetaData and Connection for the full list.
Obsolete the following Meta methods:
- getSqlKeywords
- getNumericFunctions
- getStringFunctions
- getSystemFunctions
- getTimeDateFunctions
Attachments
Issue Links
- is related to
-
CALCITE-94 Remote JDBC driver
-
- Closed
-
- is superceded by
-
CALCITE-701 Add remaining DatabaseMetaData methods to enum DatabaseProperty
-
- Open
-
- relates to
-
CALCITE-521 Implement metadata requests in remote JDBC driver
-
- Open
-