-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(stdlib/universe): an error when joining could result in two calls…
… to finish (#1225) When an error occurred in one of the two datasets that compromised a join, this error would cause `Finish()` to be called even when there were more tables to process. This meant that the second call to `Finish()` would cause a panic in some implementations because `Finish()` is only supposed to be called a maximum of once. The test for join never called `Finish()` as part of the test so that has been added to ensure the correct functionality. Along with that, an error when processing the table would be discarded except in the case where a join was happening on a null group key. So many possible errors were never even detected.
- Loading branch information
1 parent
1a26320
commit 3e19f89
Showing
3 changed files
with
56 additions
and
15 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