From 4686d779b812a6c8a3692c1906395d62867d836f Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 28 Jun 2019 14:41:13 -0600 Subject: [PATCH] removed mergeKey from map function, resolves #297 --- .../flux/functions/built-in/transformations/map.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/content/v2.0/reference/flux/functions/built-in/transformations/map.md b/content/v2.0/reference/flux/functions/built-in/transformations/map.md index e5d108b13..487c69b9e 100644 --- a/content/v2.0/reference/flux/functions/built-in/transformations/map.md +++ b/content/v2.0/reference/flux/functions/built-in/transformations/map.md @@ -21,7 +21,7 @@ _**Function type:** Transformation_ _**Output data type:** Object_ ```js -map(fn: (r) => r._value * r._value), mergeKey: true) +map(fn: (r) => r._value * r._value) ``` ## Parameters @@ -36,14 +36,6 @@ _**Data type:** Function_ Objects evaluated in `fn` functions are represented by `r`, short for "record" or "row". {{% /note %}} -### mergeKey -Indicates if the record returned from `fn` should be merged with the group key. -When merging, all columns on the group key will be added to the record giving precedence to any columns already present on the record. -When not merging, only columns defined on the returned record will be present on the output records. -Defaults to `true`. - -_**Data type:** Boolean_ - ## Important notes #### Preserve columns