Gengliang Wang created SPARK-28089:
--------------------------------------
Summary: File source v2: support reading output of file streaming
Sink
Key: SPARK-28089
URL: https://issues.apache.org/jira/browse/SPARK-28089
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.0.0
Reporter: Gengliang Wang
File source V1 supports reading output of FileStreamSink as batch.
https://github.com/apache/spark/pull/11897
We should support this in file source V2 as well. When reading with paths, we
first check if there is metadata log of FileStreamSink. If yes, we use
`MetadataLogFileIndex` for listing files; Otherwise, we use `InMemoryFileIndex`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]