[
https://issues.apache.org/jira/browse/PHOENIX-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated PHOENIX-1514:
----------------------------------
Attachment: PHOENIX-1514.02.patch
Rebased to master, fixed array handling. Giving it one more spin through `mvn
clean verify` but I think this one is good to go.
Changes in this vs 01 are in:
- ExpressionCompiler#visitLeave uses reflection to create the appropriate Java
array type from a SQL literal
- PhoenixArray#elements is left as the type provided by the constructor.
Primitive implementations no longer overwrite this instance with the primitive
version (they maintain the primitive version as a separate variable for
optimized uses)
- P<Primitive>Array#isCoercibleTo implementation cast to <Primitive>[] rather
than <primitive>[]
> Break up PDataType Enum
> -----------------------
>
> Key: PHOENIX-1514
> URL: https://issues.apache.org/jira/browse/PHOENIX-1514
> Project: Phoenix
> Issue Type: Sub-task
> Affects Versions: 5.0.0
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Fix For: 5.0.0
>
> Attachments: PHOENIX-1514.00.patch, PHOENIX-1514.01.patch,
> PHOENIX-1514.02.patch
>
>
> A first step in adopting (a portion of) HBase's type encodings is to break up
> the PDataType enum into an interface. This will pave the way for more
> flexibility going forward.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)