You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/02/04 21:43:35 UTC
[jira] [Resolved] (PHOENIX-514) Support functional indexes
[ https://issues.apache.org/jira/browse/PHOENIX-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor resolved PHOENIX-514.
----------------------------------
Resolution: Fixed
Fix Version/s: 4.3
Nice work, [~tdsilva]!
> Support functional indexes
> --------------------------
>
> Key: PHOENIX-514
> URL: https://issues.apache.org/jira/browse/PHOENIX-514
> Project: Phoenix
> Issue Type: Task
> Reporter: James Taylor
> Assignee: Thomas D'Silva
> Labels: enhancement
> Fix For: 4.3
>
>
> Instead of only defining the set of columns from the data table that make up an index, you should be able to use expressions. For example:
> CREATE INDEX upper_last_name_idx ON person (UPPER(last_name))
> Then in queries that use UPPER(last_name), we can replace them with column references to the index table.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)