Josh Rosen created SPARK-17229:
----------------------------------

             Summary: 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]

Reply via email to