cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederico Ramos (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (CASSANDRA-5482) Incorrect query created when fetching Metadata information
Date Tue, 16 Apr 2013 14:55:15 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Frederico Ramos updated CASSANDRA-5482:
---------------------------------------

    Comment: was deleted

(was: The fix was implemented using the "trunk" branch. I did not validate if the error occurred
in previous versions.)
    
> 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

Mime
View raw message