You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rick Shaw (JIRA)" <ji...@apache.org> on 2011/07/12 20:32:00 UTC

[jira] [Commented] (CASSANDRA-2888) CQL support for JDBC DatabaseMetaData

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

Rick Shaw commented on CASSANDRA-2888:
--------------------------------------

The title of this JIRA and the messages you provide seem to be mismatched?

What exactly are you trying to do? What version of the Driver are you using?

Are you using some sort of call that expects a {{DataSource}}? This is not supported yet in even the most current available version in the trunk. Support for a driver provided {{DataSource}} has been proposed as part of the 1.1 roadmap. But the JIRA seems to be looking for support of {{DatabaseMetaData}}. This too is not currently supported, but it is optional and we reply with the proper {{SQLException}} in the latest version of the driver in the trunk (build from source).

Do you think this support is required? What would you use it for? It is currently thought of as not required but a "nice-to-have". Please look at CASSANDRA-2876 and put it in perspective with the current roadmap. The roadmap is not cast in stone. But I can tell you for the little I have looked at it, that it is a big job to support any substantive features in this data structure.

> CQL support for JDBC DatabaseMetaData
> -------------------------------------
>
>                 Key: CASSANDRA-2888
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2888
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Drivers
>    Affects Versions: 0.8.1
>         Environment: J2SE 1.6.0_22 x64 on Fedora 15
>            Reporter: Dave Carlson
>            Assignee: Rick Shaw
>            Priority: Minor
>              Labels: cql, newbie
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> In order to increase the drop-in capability of CQL to existing JDBC app bases, CQL must be updated to include at least semi-valid responses to the JDBC metadata portion.
> without enhancement:
> >>> com.largecompany.JDBCManager.getConnection("<vague Cassandra JNDI pointer>")
> Resource has error: java.lang.UnsupportedOperationException: method not supported
> ...
> with enhancement:
> >>> com.largecompany.JDBCManager.getConnection("<vague Cassandra JNDI pointer>")
> org.apache.cassandra.cql.jdbc.CassandraConnection@1915470e

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira