You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Christian Spriegel (Commented) (JIRA)" <ji...@apache.org> on 2011/11/22 15:28:40 UTC
[jira] [Commented] (CASSANDRA-1592) Apply regular expression to row
keys
[ https://issues.apache.org/jira/browse/CASSANDRA-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155169#comment-13155169 ]
Christian Spriegel commented on CASSANDRA-1592:
-----------------------------------------------
Any chance that anybody came up with a solution for this in the meantime?
We are facing the same problem here. So far our solution is to load lots of columns and then do a regex on the column key in our application (Not on the row key!).
May I ask what the problem is with regex? Is it because of binary keys? Beside from that I would say that regex is as universal as it can be.
Thanks in advance for any feedback, Ch
> Apply regular expression to row keys
> ------------------------------------
>
> Key: CASSANDRA-1592
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1592
> Project: Cassandra
> Issue Type: New Feature
> Components: API
> Affects Versions: 0.7 beta 2
> Reporter: zhu han
> Priority: Minor
> Attachments: cassandra-0.6.5_key_regex.patch, cassandra-0.7.0-beta2_key_regex.patch
>
>
> Sometimes, the client needs to apply advanced filtering to row keys to carry out ad-hoc queries. Current implementation only supports prefix-match row filtering. This ticket is to extend the get_range_slices() API to filter the row keys by regular expression.
> It can also be extended to filter the column names by regex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira