Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13335#discussion_r65412480
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/Offset.scala 
---
    @@ -17,11 +17,14 @@
     
     package org.apache.spark.sql.execution.streaming
     
    +import com.fasterxml.jackson.annotation.JsonTypeInfo
    +
     /**
      * An offset is a monotonically increasing metric used to track progress 
in the computation of a
      * stream. An [[Offset]] must be comparable, and the result of `compareTo` 
must be consistent
      * with `equals` and `hashcode`.
      */
    +@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = 
JsonTypeInfo.As.PROPERTY, property = "@class")
    --- End diff --
    
    I've had way more problems with manual serialization than with jackson, so 
well, YMMV I guess.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to