[
https://issues.apache.org/jira/browse/PHOENIX-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Soldatov updated PHOENIX-3504:
-------------------------------------
Attachment: PHOENIX-3504-1.patch
Fixed NPE in spark integration.
> Spark integration doesn't work with decimal columns that are using default
> precision
> ------------------------------------------------------------------------------------
>
> Key: PHOENIX-3504
> URL: https://issues.apache.org/jira/browse/PHOENIX-3504
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.8.0
> Reporter: Sergey Soldatov
> Assignee: Sergey Soldatov
> Attachments: PHOENIX-3504-1.patch
>
>
> Not sure when this issue was introduced and whether this code was working
> well before, but in PhoenixRDD.phoenixTypeToCatalystType for decimal
> precision we have a check
> (columnInfo.getPrecision < 0)
> which is fail for decimal columns that were created with default precision
> and scale because precision is null in this case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)