[ https://issues.apache.org/jira/browse/PHOENIX-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-1794: ---------------------------------- Attachment: PHOENIX-1794_v2.patch Handle literals to big to fit into long by putting them in BigDecimal instead. Includes special case to keep Long.MIN_VALUE as a long by recognizing that case in ParseNodeFactory.negate(). Also removing non standard, undocumented feature of casting a literal to a double, float, or long. Filed PHOENIX-1814 as follow on work for supporting standard e notation. [~samarthjain] - would you mind reviewing, please? > Support Long.MIN_VALUE for phoenix BIGINT type. > ----------------------------------------------- > > Key: PHOENIX-1794 > URL: https://issues.apache.org/jira/browse/PHOENIX-1794 > Project: Phoenix > Issue Type: Sub-task > Reporter: Dave Hacker > Assignee: James Taylor > Attachments: PHOENIX-1794.patch, PHOENIX-1794_v2.patch > > > Currently Possible values for BIGINT type: -9223372036854775807 to > 9223372036854775807. > This is not fully inclusive of the set of all Long values in java, to do so > we need to support Long.MIN_VALUE = -9223372036854775808 -- This message was sent by Atlassian JIRA (v6.3.4#6332)