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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 4.0.0
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: