[
https://issues.apache.org/jira/browse/SPARK-19004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-19004:
----------------------------------
Description:
JDBCSuite and JDBCWriterSuite have its own testH2Dialect for their testing
purposes.
This issue fixes testH2Dialect in JDBCWriterSuite by removing getCatalystType
implementation in order to return correct types. Currently, it returns
Some(StringType) incorrectly. For the testH2Dialect in JDBCSuite, it's
intentional because of the test case Remap types via JdbcDialects.
was:
`JdbcDialect` subclasses should return `None` by default. However,
`testH2Dialect.getCatalystType` returns always `Some(StringType)` incorrectly.
This issue fixes `testH2Dialect` by removing the wrong `getCatalystType`
implementation.
> Fix `JDBCWriteSuite.testH2Dialect` by removing `getCatalystType`
> ----------------------------------------------------------------
>
> Key: SPARK-19004
> URL: https://issues.apache.org/jira/browse/SPARK-19004
> Project: Spark
> Issue Type: Bug
> Components: SQL, Tests
> Affects Versions: 2.1.0
> Reporter: Dongjoon Hyun
> Priority: Minor
>
> JDBCSuite and JDBCWriterSuite have its own testH2Dialect for their testing
> purposes.
> This issue fixes testH2Dialect in JDBCWriterSuite by removing getCatalystType
> implementation in order to return correct types. Currently, it returns
> Some(StringType) incorrectly. For the testH2Dialect in JDBCSuite, it's
> intentional because of the test case Remap types via JdbcDialects.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]