[
https://issues.apache.org/jira/browse/CASSANDRA-5482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-5482.
---------------------------------------
Resolution: Invalid
There is no DatabaseMetadata class in the Cassandra tree. Please file this
with the project that you got this code from.
> Incorrect query created when fetching Metadata information
> ----------------------------------------------------------
>
> Key: CASSANDRA-5482
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5482
> Project: Cassandra
> Issue Type: Bug
> Components: Drivers
> Affects Versions: 1.2.3
> Environment: Suse Linux 11.4 x86_64
> Java JDK 1.6.0_41 64-bits
> Reporter: Frederico Ramos
> Attachments: fix.patch
>
>
> When calling the {{getColumns()}} method from the {{DatabaseMetaData}} class,
> leaving the first parameter ({{catalog}}) NULL and specifying only the
> schema, table and column names, the internal query created by the metadata
> class is incorrect. It generates something like:
> {{SELECT keyspace_name, columnfamily_name, column_name, component_index,
> index_name, index_options, index_type, validator FROM system.schema_columns
> WHERE AND columnfamily_name = 'xxxx'column_name = 'yyyy' ALLOW FILTERING;}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira