You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Seth Fitzsimmons (JIRA)" <ji...@apache.org> on 2019/06/18 20:09:00 UTC
[jira] [Created] (SPARK-28097) Map ByteType to SMALLINT when using
JDBC with PostgreSQL
Seth Fitzsimmons created SPARK-28097:
----------------------------------------
Summary: Map ByteType to SMALLINT when using JDBC with PostgreSQL
Key: SPARK-28097
URL: https://issues.apache.org/jira/browse/SPARK-28097
Project: Spark
Issue Type: Improvement
Components: Input/Output
Affects Versions: 2.4.3, 2.3.3
Reporter: Seth Fitzsimmons
PostgreSQL doesn't have {{TINYINT}}, which would map directly, but {{SMALLINT}}s are sufficient for uni-directional translation (i.e. when writing).
This is equivalent to a user selecting {{'byteColumn.cast(ShortType)}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org