[ 
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_addendum2.patch

Rinse and repeat.

> 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, PHOENIX-1646.patch, 
> PHOENIX-1646_addendum.patch, PHOENIX-1646_addendum2.patch, 
> PHOENIX-1646_v2.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)

Reply via email to