Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-47361 Improve JDBC data sources
  3. SPARK-45425

Mapped TINYINT to ShortType for MsSqlServerDialect

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 4.0.0
    • SQL

    Description

      TINYINT of SQL server is not correctly mapped to spark types when using JDBC connector. For now, it is mapped to the IntegerType, which is not accurate. It should be mapped to ShortType.

      Attachments

        Issue Links

          Activity

            People

              zeruibao Zerui Bao
              zeruibao Zerui Bao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: