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

PySpark df.count() operation works fine on DBR 7.3 LTS but fails in DBR 10.4 LTS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.1
    • None
    • PySpark
    • None

    Description

      I have a job that infers schema from mongodb and does operations such as flattening and unwinding because there are nested fields. After performing various transformations, finally when the count() is performed, it works perfectly fine in databricks runtime version 7.3 LTS but fails to perform the same in 10.4 LTS.

      Below is the image that shows successful run in 7.3 LTS:

      Below is the image that shows failure in 10.4 LTS:

      And I have validated that there is no field in our schema that has NullType. In fact when the schema was inferred, there were Null & void type fields which were converted to string using my UDF. This issue will persists even when I infer schema on complete dataset, that is, samplePoolSize is on full data set.

      Attachments

        1. image-2022-06-27-11-00-50-119.png
          47 kB
          Manoj Chandrashekar

        Activity

          People

            Unassigned Unassigned
            mc3006 Manoj Chandrashekar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: