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

Zee Chen commented on SPARK-11753:
----------------------------------

Took a quick look with jackson-core 2.4.4, the following work for both the off 
and on tests: NaN, Infinity, +Infinity, -Infinity.  However +INF and -INF don't 
work for me for some reason.

> Understand why allowNonNumericNumbers JSON option doesn't work
> --------------------------------------------------------------
>
>                 Key: SPARK-11753
>                 URL: https://issues.apache.org/jira/browse/SPARK-11753
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.0
>            Reporter: Reynold Xin
>
> In SPARK-11745, I introduced an undocumented option allowNonNumericNumbers. 
> According to Jackson's documentation, this option should support converting 
> "NaN", "INF", "-INF" etc into floating point numbers. However, the 2 test 
> cases in JsonParsingOptionsSuite.scala were not working and as a result were 
> ignored.
> The goal of this task is to figure out why they were not working, and 
> re-enable them.



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