From 7db89841dbe06068119097e046117522150a9d24 Mon Sep 17 00:00:00 2001 From: Vibhatha Abeykoon Date: Mon, 5 Sep 2022 20:12:25 +0530 Subject: [PATCH] fix(description): address reviews and update the description --- extensions/functions_arithmetic.yaml | 61 ++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 18 deletions(-) diff --git a/extensions/functions_arithmetic.yaml b/extensions/functions_arithmetic.yaml index adcd4c2aa..d30da2f7d 100644 --- a/extensions/functions_arithmetic.yaml +++ b/extensions/functions_arithmetic.yaml @@ -1147,11 +1147,16 @@ aggregate_functions: description: > Based on required operator performance and configured optimizations on saving memory bandwidth, the precision of the end result can be - the highest possible accuracy of an approximation. + the highest possible accuracy or an approximation. - - EXACT: provides the highest accurate output - - APPROXIMATE: provides a sub-optimal output + - EXACT: provides the exact result, rounded if needed according + to the rounding option. + - APPROXIMATE: provides only an estimate; the result must lie + between the minimum and maximum values in the input + (inclusive), but otherwise the accuracy is left up to the + consumer. options: [ EXACT, APPROXIMATE ] + required: true - name: rounding options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] required: false @@ -1163,10 +1168,14 @@ aggregate_functions: description: > Based on required operator performance and configured optimizations on saving memory bandwidth, the precision of the end result can be - the highest possible accuracy of an approximation. + the highest possible accuracy or an approximation. - - EXACT: provides the highest accurate output - - APPROXIMATE: provides a sub-optimal output + - EXACT: provides the exact result, rounded if needed according + to the rounding option. + - APPROXIMATE: provides only an estimate; the result must lie + between the minimum and maximum values in the input + (inclusive), but otherwise the accuracy is left up to the + consumer. options: [ EXACT, APPROXIMATE ] required: true - name: rounding @@ -1180,10 +1189,14 @@ aggregate_functions: description: > Based on required operator performance and configured optimizations on saving memory bandwidth, the precision of the end result can be - the highest possible accuracy of an approximation. + the highest possible accuracy or an approximation. - - EXACT: provides the highest accurate output - - APPROXIMATE: provides a sub-optimal output + - EXACT: provides the exact result, rounded if needed according + to the rounding option. + - APPROXIMATE: provides only an estimate; the result must lie + between the minimum and maximum values in the input + (inclusive), but otherwise the accuracy is left up to the + consumer. options: [ EXACT, APPROXIMATE ] required: true - name: rounding @@ -1197,10 +1210,14 @@ aggregate_functions: description: > Based on required operator performance and configured optimizations on saving memory bandwidth, the precision of the end result can be - the highest possible accuracy of an approximation. + the highest possible accuracy or an approximation. - - EXACT: provides the highest accurate output - - APPROXIMATE: provides a sub-optimal output + - EXACT: provides the exact result, rounded if needed according + to the rounding option. + - APPROXIMATE: provides only an estimate; the result must lie + between the minimum and maximum values in the input + (inclusive), but otherwise the accuracy is left up to the + consumer. options: [ EXACT, APPROXIMATE ] required: true - name: rounding @@ -1214,10 +1231,14 @@ aggregate_functions: description: > Based on required operator performance and configured optimizations on saving memory bandwidth, the precision of the end result can be - the highest possible accuracy of an approximation. + the highest possible accuracy or an approximation. - - EXACT: provides the highest accurate output - - APPROXIMATE: provides a sub-optimal output + - EXACT: provides the exact result, rounded if needed according + to the rounding option. + - APPROXIMATE: provides only an estimate; the result must lie + between the minimum and maximum values in the input + (inclusive), but otherwise the accuracy is left up to the + consumer. options: [ EXACT, APPROXIMATE ] required: true - name: rounding @@ -1231,10 +1252,14 @@ aggregate_functions: description: > Based on required operator performance and configured optimizations on saving memory bandwidth, the precision of the end result can be - the highest possible accuracy of an approximation. + the highest possible accuracy or an approximation. - - EXACT: provides the highest accurate output - - APPROXIMATE: provides a sub-optimal output + - EXACT: provides the exact result, rounded if needed according + to the rounding option. + - APPROXIMATE: provides only an estimate; the result must lie + between the minimum and maximum values in the input + (inclusive), but otherwise the accuracy is left up to the + consumer. options: [ EXACT, APPROXIMATE ] required: true - name: rounding