Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/13335#discussion_r65410185
--- 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 --
What does this mean? What JSON does this produce?
@vanzin, I find this very hard to reason about relative to constructing the
JSON by hand.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]