You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Frederico Ramos (JIRA)" <ji...@apache.org> on 2013/04/16 16:45:17 UTC

[jira] [Created] (CASSANDRA-5482) Incorrect query created when fetching Metadata information

Frederico Ramos created CASSANDRA-5482:
------------------------------------------

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


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