snuyanzin commented on code in PR #26091:
URL: https://github.com/apache/flink/pull/26091#discussion_r1935891074
##########
docs/data/sql_functions.yml:
##########
@@ -256,7 +256,9 @@ arithmetic:
description: |
Returns the exact percentile value of expr at the specified percentage
in a group.
- percentage must be a literal numeric value between `[0.0, 1.0]` or an
array of such values.
+ E.g., SELECT PERCENTILE(age, 0.5) FROM (VALUES (0), (50), (100)) AS age
or $('age').percentile(0.5) returns 50.0.
+
+ The percentage must be a literal numeric value between `[0.0, 1.0]` or
an array of such values.
Review Comment:
>Returns the exact percentile value of expr at the specified percentage in a
group.
looks like description is also incorrect since usually by group it is meant
within a limited group (discrete)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]