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: [email protected]
For additional commands, e-mail: [email protected]