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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.1, 2.0.0
    • SQL

    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

            viirya L. C. Hsieh
            blbradley Brandon Bradley
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: