[jira] [Assigned] (SPARK-28097) Map ByteType to SMALLINT when using JDBC with PostgreSQL

2019-07-17 Thread Dongjoon Hyun (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-28097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun reassigned SPARK-28097:
-

Assignee: Seth Fitzsimmons

> 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: 3.0.0
>Reporter: Seth Fitzsimmons
>Assignee: Seth Fitzsimmons
>Priority: Minor
>
> 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.14#76016)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-28097) Map ByteType to SMALLINT when using JDBC with PostgreSQL

2019-06-18 Thread Apache Spark (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-28097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-28097:


Assignee: Apache Spark

> 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.3.3, 2.4.3
>Reporter: Seth Fitzsimmons
>Assignee: Apache Spark
>Priority: Minor
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-28097) Map ByteType to SMALLINT when using JDBC with PostgreSQL

2019-06-18 Thread Apache Spark (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-28097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-28097:


Assignee: (was: Apache Spark)

> 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.3.3, 2.4.3
>Reporter: Seth Fitzsimmons
>Priority: Minor
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org