Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19004

Fix `JDBCWriteSuite.testH2Dialect` by removing `getCatalystType`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • SQL, Tests
    • None

    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.

      Attachments

        Activity

          People

            dongjoon Dongjoon Hyun
            dongjoon Dongjoon Hyun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: