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/09 11:21:35 UTC

[jira] [Updated] (PHOENIX-1646) Views and functional index expressions may lose information when stringified

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

James Taylor updated PHOENIX-1646:
----------------------------------
    Attachment: PHOENIX-1646-wip.patch

Parking this wip patch here.

> Views and functional index expressions may lose information when stringified
> ----------------------------------------------------------------------------
>
>                 Key: PHOENIX-1646
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1646
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>         Attachments: PHOENIX-1646-wip.patch
>
>
> We currently produce a string from an Expression to store in the system catalog for views and functional indexes. However there are a number of constructs that won't roundtrip correctly, mainly due to the way expression trees get collapsed during compilation. The easiest way to fix this is to go from the ParseNode to a string instead and fully resolve column names in the process.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)