GitHub user kiszk opened a pull request:

    [SPARK-23923][SQL] Add cardinality function

    ## What changes were proposed in this pull request?
    The PR adds the SQL function `cardinality`. The behavior of the function is 
based on Presto's one.
    The function returns the length of the array or map stored in the column as 
    ## How was this patch tested?
    Added UTs

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

    $ git pull SPARK-23923

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 #21031
commit 89458544b564097f2fa6d34ae654c86f155410df
Author: Kazuaki Ishizaki <ishizaki@...>
Date:   2018-04-10T16:52:36Z

    initial commit



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

Reply via email to