[ 
https://issues.apache.org/jira/browse/SPARK-17013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416871#comment-15416871
 ] 

Peter Lee commented on SPARK-17013:
-----------------------------------

I have a fix for this, but it would be easier to review after 
https://github.com/apache/spark/pull/14598 goes in.


> negative numeric literal parsing
> --------------------------------
>
>                 Key: SPARK-17013
>                 URL: https://issues.apache.org/jira/browse/SPARK-17013
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Peter Lee
>
> As found in https://github.com/apache/spark/pull/14592/files#r74367410, Spark 
> 2.0 parses negative numeric literals as the unary minus of positive literals. 
> This introduces problems for the edge cases such as -9223372036854775809 
> being parsed as decimal instead of bigint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to