GitHub user viirya opened a pull request:

    https://github.com/apache/spark/pull/20861

    [SPARK-23599][SQL] Use RandomUUIDGenerator in Uuid expression

    ## What changes were proposed in this pull request?
    
    As stated in Jira, there are problems with current `Uuid` expression which 
uses `java.util.UUID.randomUUID` for UUID generation.
    
    This patch uses the newly added `RandomUUIDGenerator` for UUID generation. 
So we can make `Uuid` deterministic between retries.
    
    ## How was this patch tested?
    
    Added unit tests.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/viirya/spark-1 SPARK-23599-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20861.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20861
    
----
commit 306dbe8e26f2045b0d133e07455dedae058c0311
Author: Liang-Chi Hsieh <viirya@...>
Date:   2018-03-20T03:11:33Z

    Use new UUID generator in Uuid expression.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to