-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove the queue in LanceArrowWriter to reduce memory usage…
… for spark sink (#3110) Remove the queue in LanceArrowWriter since it may cache all rows in queue and that will require a lot of jvm memory. Use mutex to control the write rate of sinker. Writer will wait util the reader take the batch. And more I had moved the `maven-shade-plugin` into a new profile which is diabled by default because `jar-with-dependencie` was conflict with many jars in spark dependencie --------- Co-authored-by: Lei Xu <lei@lancedb.com>
- Loading branch information
1 parent
219ebcf
commit f60283e
Showing
3 changed files
with
84 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters