Sergey Soldatov created PHOENIX-3504:
----------------------------------------

             Summary: 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


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)

Reply via email to