This is an automated email from the ASF dual-hosted git repository.
vogievetsky pushed a commit to branch 26.0.0
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/26.0.0 by this push:
new 32a750b1d5 doc: fix unnest datasource syntax (#14272) (#14328)
32a750b1d5 is described below
commit 32a750b1d5cdf4ba2e2fd6f62d4901df7a49c0ef
Author: Victoria Lim <[email protected]>
AuthorDate: Mon May 22 14:28:35 2023 -0700
doc: fix unnest datasource syntax (#14272) (#14328)
Co-authored-by: 317brian <[email protected]>
---
docs/querying/datasource.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/querying/datasource.md b/docs/querying/datasource.md
index fd3984cb53..211f58bd8c 100644
--- a/docs/querying/datasource.md
+++ b/docs/querying/datasource.md
@@ -413,7 +413,7 @@ The `unnest` datasource uses the following syntax:
"name": "output_column",
"expression": "\"column_reference\""
},
- "outputName": "unnested_target_column"
+ "unnestFilter": "optional_filter"
}
```
@@ -421,5 +421,6 @@ The `unnest` datasource uses the following syntax:
* `dataSource.base`: Defines the datasource you want to unnest.
* `dataSource.base.type`: The type of datasource you want to unnest, such as
a table.
* `dataSource.virtualColumn`: [Virtual column](virtual-columns.md) that
references the nested values. The output name of this column is reused as the
name of the column that contains unnested values. You can replace the source
column with the unnested column by specifying the source column's name or a new
column by specifying a different name. Outputting it to a new column can help
you verify that you get the results that you expect but isn't required.
+* `unnestFilter`: A filter only on the output column. You can omit this or set
it to null if there are no filters.
To learn more about how to use the `unnest` datasource, see the [unnest
tutorial](../tutorials/tutorial-unnest-arrays.md).
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]