spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiszk <>
Subject [GitHub] spark pull request #21037: [SPARK-23919][SQL] Add array_position function
Date Wed, 11 Apr 2018 06:25:01 GMT
GitHub user kiszk opened a pull request:

    [SPARK-23919][SQL] Add array_position function

    ## What changes were proposed in this pull request?
    The PR adds the SQL function `array_position`. The behavior of the function is based on
Presto's one.
    The function returns the position of the first occurrence of substr in the given string
using 1-based index as BigInt.
    ## How was this patch tested?
    Added UTs

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

    $ git pull SPARK-23919

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 #21037
commit 80fc7b0cb5c61345d05bee971b13e44727b1e108
Author: Kazuaki Ishizaki <ishizaki@...>
Date:   2018-04-11T06:21:07Z

    initial commit



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

View raw message