[ 
https://issues.apache.org/jira/browse/CALCITE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497508#comment-14497508
 ] 

Xavier FH Leong commented on CALCITE-522:
-----------------------------------------

Quite some changes, using pull request instead:

https://github.com/apache/incubator-calcite/pull/77

Separate test for Avatica and Calcite.

The following are session properties (non-static and from connection)
* allProceduresAreCallable
* getUserName
* isReadOnly

The following is driver specific properties (over-writable at Driver 
implementation) 
* getDatabaseProductName
* getDatabaseProductVersion
* getDriverName
* getDriverVersion
* getDriverMajorVersion
* getDriverMinorVersion

> In remote JDBC driver, transmit static database properties as a map
> -------------------------------------------------------------------
>
>                 Key: CALCITE-522
>                 URL: https://issues.apache.org/jira/browse/CALCITE-522
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to