[
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: [email protected]
For additional commands, e-mail: [email protected]