-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GSProcessing] Make label transformation use Spark for output instead…
… of Pyarrow when using custom masks. (#1150) *Issue #, if available:* *Description of changes:* * Previously, during classification labels would be collected to the driver and written using pyarrow regardless of the type of mask that will be generated. * To improve scaling, since we observed that the collect is not necessary when using custom masks, we revert to writing the label files using Spark, avoiding collecting to the driver and improving scalability. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Co-authored-by: jalencato <[email protected]>
- Loading branch information
Showing
2 changed files
with
46 additions
and
37 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