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

NullPointerException is thrown when column with ROWID type contains NULL values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.1
    • 3.5.0, 4.0.0
    • Spark Core, SQL
    • None

    Description

      A row ID may be NULL in an Oracle table. When this is the case, the following exception is thrown:

      [info] Cause: java.lang.NullPointerException:
      [info] at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$makeGetter$12(JdbcUtils.scala:452)[info] at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$makeGetter$12$adapted(JdbcUtils.scala:451)
      [info] at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anon$1.getNext(JdbcUtils.scala:361)[info] at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anon$1.getNext(JdbcUtils.scala:343)

      Attachments

        Activity

          People

            tnieradzik Tim Nieradzik
            tnieradzik Tim Nieradzik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: