[ 
https://issues.apache.org/jira/browse/ARROW-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rok Mihevc updated ARROW-2588:
------------------------------
    External issue URL: https://github.com/apache/arrow/issues/18971

> [Plasma] Random unique ids always use the same seed
> ---------------------------------------------------
>
>                 Key: ARROW-2588
>                 URL: https://issues.apache.org/jira/browse/ARROW-2588
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++ - Plasma
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> Following GitHub PR #2039 (resolution to ARROW-2578), the random generator 
> for random object ids is now using a constant default seed, meaning all 
> processes will generate the same sequence of random ids:
> {code:java}
> $ python -c "from pyarrow import plasma; print(plasma.ObjectID.from_random())"
> ObjectID(d022e7d520f8e938a14e188c47308cfef5fff7f7)
> $ python -c "from pyarrow import plasma; print(plasma.ObjectID.from_random())"
> ObjectID(d022e7d520f8e938a14e188c47308cfef5fff7f7)
> {code}
> As a sidenote, the plasma test suite should ideally test for this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to