-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use UUIDs instead of object hashes to avoid collisions (#29542)
* Add uuid fix test fix test Fix test * Change class name resembling its functionality * Add PID to the unique string * Change the unique id to be bytes * remove decode * Replace hash computation with a combined uuid. Resulting key should have the same length. * Mark internal classes as such. * misc fixup. * raise RuntimeError when more than 1 element in observed while CoGroupByKey * Add MLTransform dropping elements to known issues * Remove internal use comments since it is now evident from naming. * Remove references to hash * Remove references to hash * Remove references to hash * Remove references to hash * Edit for clarity * Clarify helper code. * yapf --------- Co-authored-by: Valentyn Tymofieiev <valentyn@google.com> Co-authored-by: tvalentyn <tvalentyn@users.noreply.github.com>
- Loading branch information
1 parent
367e4ec
commit c9c89fe
Showing
4 changed files
with
116 additions
and
59 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
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