From d126775b91d876edc4c27c7c971a0d837532dddc Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 26 Sep 2019 15:11:23 -0600 Subject: [PATCH] added notes about using tableFind with getRecord and getColumn --- .../built-in/transformations/stream-table/getcolumn.md | 7 +++++++ .../built-in/transformations/stream-table/getrecord.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getcolumn.md b/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getcolumn.md index fa4285d9b..cbc976099 100644 --- a/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getcolumn.md +++ b/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getcolumn.md @@ -21,6 +21,13 @@ _**Function type:** Stream and table_ getColumn(column: "_value") ``` +{{% note %}} +#### Use tableFind() to extract a single table +`getColumn()` requires a single table as input. +Use [`tableFind()`](/v2.0/reference/flux/functions/built-in/transformations/stream-table/tablefind/) +to extract a single table from a stream of tables. +{{% /note %}} + ## Parameters ### column diff --git a/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getrecord.md b/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getrecord.md index 4e16469e5..f660be331 100644 --- a/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getrecord.md +++ b/content/v2.0/reference/flux/stdlib/built-in/transformations/stream-table/getrecord.md @@ -21,6 +21,13 @@ _**Function type:** Stream and table_ getRecord(idx: 0) ``` +{{% note %}} +#### Use tableFind() to extract a single table +`getRecord()` requires a single table as input. +Use [`tableFind()`](/v2.0/reference/flux/functions/built-in/transformations/stream-table/tablefind/) +to extract a single table from a stream of tables. +{{% /note %}} + ## Parameters ### idx