You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Stepura (JIRA)" <ji...@apache.org> on 2014/12/15 22:30:15 UTC
[jira] [Comment Edited] (CASSANDRA-7458) functional indexes
[ https://issues.apache.org/jira/browse/CASSANDRA-7458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247255#comment-14247255 ]
Mikhail Stepura edited comment on CASSANDRA-7458 at 12/15/14 9:29 PM:
----------------------------------------------------------------------
[~jbellis] I've almost completed the initial implementation, but had no time to finish that. I hope I should be able to complete that somewhen in January.
was (Author: mishail):
[~jbellis] Iэму almost completed the initial implementation, but had no time to finish that. I hope I should be able to complete that somewhen in January.
> functional indexes
> ------------------
>
> Key: CASSANDRA-7458
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7458
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Core
> Reporter: Jonathan Ellis
> Assignee: Mikhail Stepura
> Fix For: 3.0
>
>
> Indexing information derived from the row can be powerful. For example, using the hypothetical {{extract_date}} function,
> {code}
> create table ticks (
> symbol text,
> ticked_at datetime,
> price int,
> tags set<text>,
> PRIMARY KEY (symbol, ticked_at)
> );
> CREATE INDEX ticks_by_day ON ticks(extract_date(ticked_at));
> SELECT * FROM ticks_by_day WHERE extract_date(ticked_at) = '2014-5-13';
> {code}
> http://www.postgresql.org/docs/9.3/static/indexes-expressional.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)