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

Dataset column output discrepancies

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.3.2
    • Fix Version/s: None
    • Component/s: Input/Output
    • Labels:
      None

      Description

      Hi,

       

      When i run my job in Local mode (meaning as standalone in Eclipse) with same parquet input files, the output is -

       

      locations
      --------------------
      [[[true, [[, phys...
      [[[true, [[, phys...
      [[[true, [[, phys...
      null
      [[[true, [[, phys...
      [[[true, [[, phys...
      [[[true, [[, phys...
      [[[true, [[, phys...
      [[[true, [[, phys...
      [[[true, [[, phys...

       

      But when i run the same code base with same input parquet files in the YARN cluster mode, my output is as below -

      --------------------
      locations
      --------------------
      [WrappedArray([tr...
      [WrappedArray([tr...
      [WrappedArray([tr...
      null
      [WrappedArray([tr...
      [WrappedArray([tr...
      [WrappedArray([tr...
      [WrappedArray([tr...
      [WrappedArray([tr...
      [WrappedArray([tr...

      Its appending WrappedArray

      I am using Apache Spark 2.3.2 version and the EMR Version is 5.19.0. What could be the reason for discrepancies in the output of certain Table columns ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              palagiril Praveena
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: