You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/01/29 00:26:39 UTC
[jira] [Resolved] (SPARK-12749) Spark SQL JSON schema infernce
should allow floating-point numbers as BigDecimal
[ https://issues.apache.org/jira/browse/SPARK-12749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-12749.
---------------------------------
Resolution: Fixed
Assignee: Brandon Bradley
Fix Version/s: 2.0.0
> Spark SQL JSON schema infernce should allow floating-point numbers as BigDecimal
> --------------------------------------------------------------------------------
>
> Key: SPARK-12749
> URL: https://issues.apache.org/jira/browse/SPARK-12749
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Brandon Bradley
> Assignee: Brandon Bradley
> Priority: Minor
> Fix For: 2.0.0
>
>
> Hello,
> Spark SQL JSON parsing has no options for producing BigDecimal from floating-point values. I think an option should be added to org.apache.spark.sql.execution.datasources.json.JSONOptions to allow for this. I can provide a patch if an option name can be agreed upon.
> I'm thinking something like floatAsBigDecimal.
> Cheers!
> Brandon
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org