You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Burak Yavuz (JIRA)" <ji...@apache.org> on 2017/07/17 23:48:00 UTC

[jira] [Created] (SPARK-21445) NotSerializableException thrown by UTF8String.IntWrapper

Burak Yavuz created SPARK-21445:
-----------------------------------

             Summary: NotSerializableException thrown by UTF8String.IntWrapper
                 Key: SPARK-21445
                 URL: https://issues.apache.org/jira/browse/SPARK-21445
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Burak Yavuz


{code}
Caused by: java.io.NotSerializableException: org.apache.spark.unsafe.types.UTF8String$IntWrapper
Serialization stack:
    - object not serializable (class: org.apache.spark.unsafe.types.UTF8String$IntWrapper, value: org.apache.spark.unsafe.types.UTF8String$IntWrapper@326450e)
    - field (class: org.apache.spark.sql.catalyst.expressions.Cast$$anonfun$castToInt$1, name: result$2, type: class org.apache.spark.unsafe.types.UTF8String$IntWrapper)
    - object (class org.apache.spark.sql.catalyst.expressions.Cast$$anonfun$castToInt$1, <function1>)
{code}

Not exactly sure in which specific case this exception is thrown, because I couldn't come up with a simple reproducer yet, but will include a test in the PR



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org