Skip to content

[SPARK-32306][SQL][DOCS][2.4] Clarify the result of percentile_approx()#29847

Closed
MaxGekk wants to merge 1 commit intoapache:branch-2.4from
MaxGekk:doc-percentile_approx-2.4
Closed

[SPARK-32306][SQL][DOCS][2.4] Clarify the result of percentile_approx()#29847
MaxGekk wants to merge 1 commit intoapache:branch-2.4from
MaxGekk:doc-percentile_approx-2.4

Conversation

@MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Sep 23, 2020

What changes were proposed in this pull request?

More precise description of the result of the percentile_approx() function and its synonym approx_percentile(). The proposed sentence clarifies that the function returns one of elements (or array of elements) from the input column.

Why are the changes needed?

To improve Spark docs and avoid misunderstanding of the function behavior.

Does this PR introduce any user-facing change?

No

How was this patch tested?

./dev/scalastyle

Authored-by: Max Gekk max.gekk@gmail.com
Signed-off-by: Liang-Chi Hsieh viirya@gmail.com
(cherry picked from commit 7c14f17)
Signed-off-by: Max Gekk max.gekk@gmail.com

More precise description of the result of the `percentile_approx()` function and its synonym `approx_percentile()`. The proposed sentence clarifies that  the function returns **one of elements** (or array of elements) from the input column.

To improve Spark docs and avoid misunderstanding of the function behavior.

No

`./dev/scalastyle`

Closes apache#29835 from MaxGekk/doc-percentile_approx.

Authored-by: Max Gekk <max.gekk@gmail.com>
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
(cherry picked from commit 7c14f17)
Signed-off-by: Max Gekk <max.gekk@gmail.com>
@SparkQA
Copy link

SparkQA commented Sep 23, 2020

Test build #129012 has finished for PR 29847 at commit 0c39ab9.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

Merged to branch-2.4

HyukjinKwon pushed a commit that referenced this pull request Sep 23, 2020
…x()`

### What changes were proposed in this pull request?
More precise description of the result of the `percentile_approx()` function and its synonym `approx_percentile()`. The proposed sentence clarifies that  the function returns **one of elements** (or array of elements) from the input column.

### Why are the changes needed?
To improve Spark docs and avoid misunderstanding of the function behavior.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
`./dev/scalastyle`

Authored-by: Max Gekk <max.gekkgmail.com>
Signed-off-by: Liang-Chi Hsieh <viiryagmail.com>
(cherry picked from commit 7c14f17)
Signed-off-by: Max Gekk <max.gekkgmail.com>

Closes #29847 from MaxGekk/doc-percentile_approx-2.4.

Authored-by: Max Gekk <max.gekk@gmail.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
@MaxGekk MaxGekk deleted the doc-percentile_approx-2.4 branch December 11, 2020 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants