cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Liu (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6073) Changes for Pig collections break CQL prepared statements
Date Mon, 23 Sep 2013 17:45:05 GMT


Alex Liu commented on CASSANDRA-6073:

It's now using url encoding for prepared Statements, so you need encode the full CQL prepared
> Changes for Pig collections break CQL prepared statements
> ---------------------------------------------------------
>                 Key: CASSANDRA-6073
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>         Environment: 1.2.10-tentative branch
>            Reporter: Chad Johnston
>            Assignee: Alex Liu
> I've checked out and built the 1.2.10-tentative branch, and I've noticed that all of
my CQL prepared statements are now broken.
> Looking into the code, it looks like the "#" -> "=" and "@" -> "?" translations
were removed. I tried to replace these in one of my scripts with "=" and "?", but there's
other code that splits the query string on "=", causing the prepared statement to be malformed.
> If I look at the comments on, where
this change was made, I see a single mention of URL encoding the CQL query. Is this the expectation
going forward? Was there a reason that the "#" and "@" mappings were removed?

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