[jira] [Commented] (SPARK-17013) negative numeric literal parsing

2016-08-11 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-17013:
--

User 'petermaxlee' has created a pull request for this issue:
https://github.com/apache/spark/pull/14608

> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-17013) negative numeric literal parsing

2016-08-11 Thread Apache Spark (JIRA)

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

Apache Spark commented on SPARK-17013:
--

User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/14599

> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-17013) negative numeric literal parsing

2016-08-11 Thread Peter Lee (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-17013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org