IMPALA-4107 [DOCS] APPX_MEDIAN cuts string to 10 chars In the "Restrictions" section of the "APPX_MEDIAN Function" topic, added information about how the function truncates string values.
Change-Id: I141787452e74ecdb491765cd7fd4c9a771c5bbc2 Reviewed-on: http://gerrit.cloudera.org:8080/7094 Reviewed-by: Michael Brown <[email protected]> Tested-by: Impala Public Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/09ff2fca Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/09ff2fca Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/09ff2fca Branch: refs/heads/master Commit: 09ff2fca2ecce1544e4e589a831fcfb02edc4f13 Parents: 01b5973 Author: Laurel Hale <[email protected]> Authored: Mon Jun 5 21:27:49 2017 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Tue Jul 11 00:24:36 2017 +0000 ---------------------------------------------------------------------- docs/topics/impala_appx_median.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/09ff2fca/docs/topics/impala_appx_median.xml ---------------------------------------------------------------------- diff --git a/docs/topics/impala_appx_median.xml b/docs/topics/impala_appx_median.xml index 94a31ad..237f2c7 100644 --- a/docs/topics/impala_appx_median.xml +++ b/docs/topics/impala_appx_median.xml @@ -74,7 +74,12 @@ under the License. <p conref="../shared/impala_common.xml#common/analytic_not_allowed_caveat"/> - <p conref="../shared/impala_common.xml#common/example_blurb"/> + <p rev="IMPALA-4107"> + The <codeph>APPX_MEDIAN</codeph> function returns only the first 10 characters for + string values (string, varchar, char). Additional characters are truncated. + </p> + + <p conref="../shared/impala_common.xml#common/example_blurb"/> <p> The following example uses a table of a million random floating-point numbers ranging up to approximately
