-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug in sample_random when probability_to_keep is 0 (#989)
This PR makes the following changes: - Fixes a bug in the `sample_random` processor when `probability_to_keep` is set to 0%. If the random number generator returns 0 then a record would be returned ( 0 <= 0 is true ). Setting the `random()` function's minimum value to 1 ensures that no records will ever be returned ( 1 <= 0 is false). - Update docs - Add test with large dataset and `probability_to_keep` set to 0% - bump standard asset from v1.3.1 to v1.3.2 ref: #988
- Loading branch information
Showing
6 changed files
with
15 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "standard", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Teraslice standard processor asset bundle", | ||
"minimum_teraslice_version": "2.0.0" | ||
} |
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
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