Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4358

Case Sensitive String match on SqlType in PDataType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.11.0
    • 4.15.0, 5.1.0
    • None
    • OSX and Linux

    Description

      fromSqlTypeName() method uses a case sensitive match on input SqlType. This causes an issue in Spark JDBCUtils.makeSetter() which lowerCases input. The result is the error Unsupported sql type: varchar.

      Attachments

        1. caseFix.patch
          1 kB
          Dave Angulo
        2. caseFix.patch
          0.8 kB
          Dave Angulo

        Activity

          People

            dangulo Dave Angulo
            dangulo Dave Angulo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified