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 2016/12/09 20:38:58 UTC

[jira] [Created] (SPARK-18811) Stream Source resolution should happen in StreamExecution thread, not main thread

Burak Yavuz created SPARK-18811:
-----------------------------------

             Summary: Stream Source resolution should happen in StreamExecution thread, not main thread
                 Key: SPARK-18811
                 URL: https://issues.apache.org/jira/browse/SPARK-18811
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 2.0.2, 2.1.0
            Reporter: Burak Yavuz


When you start a stream, if we are trying to resolve the source of the stream, for example if we need to resolve partition columns, this could take a long time. This long execution time should not block the main thread where `query.start()` was called on. It should happen in the stream execution thread possibly before starting any triggers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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