You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "John Wesley (Jira)" <ji...@apache.org> on 2020/11/05 14:29:00 UTC

[jira] [Created] (SPARK-33361) Dataset.observe() functionality does not work with structured streaming

John Wesley created SPARK-33361:
-----------------------------------

             Summary: Dataset.observe() functionality does not work with structured streaming
                 Key: SPARK-33361
                 URL: https://issues.apache.org/jira/browse/SPARK-33361
             Project: Spark
          Issue Type: Bug
          Components: Structured Streaming
    Affects Versions: 3.0.0
         Environment: Spark on k8s, version 3.0.0
            Reporter: John Wesley


The dataset observe() functionality does not work as expected with spark in cluster mode.
Related discussion here:
[http://apache-spark-user-list.1001560.n3.nabble.com/Best-way-to-emit-custom-metrics-to-Prometheus-in-spark-structured-streaming-td38826.html]

Using lit() as the aggregation column goes through well. However sum, count etc returns 0 all the time.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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