cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Resolved] (CASSANDRA-5482) Incorrect query created when fetching Metadata information
Date Tue, 16 Apr 2013 14:53:16 GMT


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:
>             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:

View raw message