You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/08/24 20:54:20 UTC
[jira] [Commented] (SPARK-17229) Postgres JDBC dialect should not
widen float and short types during reads
[ https://issues.apache.org/jira/browse/SPARK-17229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15435665#comment-15435665 ]
Apache Spark commented on SPARK-17229:
--------------------------------------
User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/14796
> Postgres JDBC dialect should not widen float and short types during reads
> -------------------------------------------------------------------------
>
> Key: SPARK-17229
> URL: https://issues.apache.org/jira/browse/SPARK-17229
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Josh Rosen
> Assignee: Josh Rosen
> Priority: Minor
>
> When reading {{float4}} and {{smallint}} columns from PostgreSQL, Spark's Postgres dialect widens these types to Decimal and Integer rather than using the narrower Float and Short types.
--
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