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

while parsing the data from parquet to case class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 2.4.3
    • None
    • Spark Core
    • None

    Description

      Caused by: java.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.MutableDouble cannot be cast to org.apache.spark.sql.catalyst.expressions.MutableLong

       
      I am trying to parse the the parquet file to dataset using case class with encoders. 

      this is very much known error , but don't see the resolution.

      could you please help on this.

       

      https://stackoverflow.com/questions/51300978/spark-error-reading-parquet?rq=1

       similar like this :: https://issues.apache.org/jira/browse/SPARK-17477

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Manjay7869 Manjay Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: