[ 
https://issues.apache.org/jira/browse/SPARK-53797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-53797:
----------------------------------
    Summary: Fix `FileStreamSource.takeFilesUntilMax` to use `zipWithIndex` to 
avoid `indices` usage  (was: File stream source maxBytesPerTrigger is 
incredibly slow)

> Fix `FileStreamSource.takeFilesUntilMax` to use `zipWithIndex` to avoid 
> `indices` usage
> ---------------------------------------------------------------------------------------
>
>                 Key: SPARK-53797
>                 URL: https://issues.apache.org/jira/browse/SPARK-53797
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL, Structured Streaming
>    Affects Versions: 4.0.1
>            Reporter: Adam Binford
>            Assignee: Adam Binford
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0, 4.0.2
>
>
> Using the new maxBytesPerTrigger setting for file stream sources is 
> incredibly slow in building the batch for sources with a large number of files



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to