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

Kousuke Saruta updated SPARK-34180:
-----------------------------------
    Description: 
SPARK-33888 PR has the two serious problems.

1. A regression which affects PostgresDialect causing 
`PostgreSQLIntegrationSuite` to fail.
2. That PR changes the JDBC-Catalyst type mapping. `sql.Types.TIME` is mapped 
to `sql.types.IntegerType` so we'll get millisecond value. But the start time 
point is different between `MsSqlServer` and other RDBMSs. For `MsSqlServer`, 
it starts from `1900-01-01 00:00:00` while `1970-01-01 00:00:00` for other 
RDBMS.

  was:
PostgresDIalect#getCatalystType throws Exception for array types.
It's a regression brought by SPARK-33888.


> Fix the regression brought by SPARK-33888
> -----------------------------------------
>
>                 Key: SPARK-34180
>                 URL: https://issues.apache.org/jira/browse/SPARK-34180
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Kousuke Saruta
>            Assignee: Apache Spark
>            Priority: Blocker
>
> SPARK-33888 PR has the two serious problems.
> 1. A regression which affects PostgresDialect causing 
> `PostgreSQLIntegrationSuite` to fail.
> 2. That PR changes the JDBC-Catalyst type mapping. `sql.Types.TIME` is mapped 
> to `sql.types.IntegerType` so we'll get millisecond value. But the start time 
> point is different between `MsSqlServer` and other RDBMSs. For `MsSqlServer`, 
> it starts from `1900-01-01 00:00:00` while `1970-01-01 00:00:00` for other 
> RDBMS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to