GitHub user rednaxelafx opened a pull request:

    [SPARK-23947][SQL] Add hashUTF8String convenience method to hasher classes

    ## What changes were proposed in this pull request?
    Add `hashUTF8String()` to the hasher classes to allow Spark SQL codegen to 
generate cleaner code for hashing `UTF8String`s. No change in behavior 
    Although with the introduction of SPARK-10399, the code size for hashing 
`UTF8String` is already smaller, it's still good to extract a separate function 
in the hasher classes so that the generated code can stay clean.
    ## How was this patch tested?
    Existing tests.

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

    $ git pull hashutf8

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

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

    This closes #21016
commit ead91a453fb6a3f92255d14d37c1d4a6beac22fd
Author: Kris Mok <kris.mok@...>
Date:   2018-04-09T22:30:03Z

    SPARK-23947 - Add hashUTF8String convenience method to hasher classes



To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to