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

Postgres JDBC ArrayType(DoubleType) 'Unable to find server array type'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1, 2.0.0
    • Component/s: SQL
    • Labels:

      Description

      Hello,

      I'm getting this exception when trying to use DataFrame.jdbc.write on a DataFrame with column ArrayType(DoubleType).

      org.postgresql.util.PSQLException: Unable to find server array type for provided name double precision
      

      Driver is definitely on the driver and executor classpath as I have other code that works without ArrayType. I'm not sure how to proceed in debugging.

        Attachments

          Activity

            People

            • Assignee:
              viirya L. C. Hsieh
              Reporter:
              blbradley Brandon Bradley
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: