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

Incorrect java.sql.Types value returned for array types in result set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 4.0.0
    • None
    • None

    Description

      All array PDataTypes currently return their Phoenix-specific type constant in PDataType#getResultSetSqlType. This causes issues with external tools which aren't familiar with the Phoenix array types, so java.sql.Types.ARRAY should be returned for array types instead.

      Attachments

        1. PHOENIX-843_2.patch
          24 kB
          Gabriel Reid
        2. PHOENIX-843.patch
          11 kB
          Gabriel Reid

        Activity

          People

            Unassigned Unassigned
            gabriel.reid Gabriel Reid
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: