From 3cb58d01772b2f7f2f2327170c59e6b6c767ffe7 Mon Sep 17 00:00:00 2001 From: Soeren Wolfers Date: Tue, 17 Dec 2024 22:46:53 +0000 Subject: [PATCH 1/2] Update overview.md --- docs/sql/functions/overview.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/sql/functions/overview.md b/docs/sql/functions/overview.md index 80c1da8c192..09d2b0d5090 100644 --- a/docs/sql/functions/overview.md +++ b/docs/sql/functions/overview.md @@ -26,12 +26,15 @@ SELECT goose_name.replace('goose', 'duck') AS duck_name FROM unnest(['African goose', 'Faroese goose', 'Hungarian goose', 'Pomeranian goose']) breed(goose_name); ``` -> Tip To apply function chaining to a single value, use parentheses, e.g.: +> Tip To apply function chaining to literals, you must use parentheses, e.g.: > > ```sql > SELECT ('hello world').replace(' ', '_'); > ``` + +> Function chaining via the dot operator is limited to *scalar* functions; it is not available for *table* functions. For example, `SELECT 3.range()` is not supported. + ## Query Functions The `duckdb_functions()` table function shows the list of functions currently built into the system. From a4caf46eea002bd7cb2197254d7c0a5f6cf1d468 Mon Sep 17 00:00:00 2001 From: Soeren Wolfers Date: Tue, 17 Dec 2024 22:56:47 +0000 Subject: [PATCH 2/2] Update overview.md --- docs/sql/functions/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sql/functions/overview.md b/docs/sql/functions/overview.md index 09d2b0d5090..13674cdc3ef 100644 --- a/docs/sql/functions/overview.md +++ b/docs/sql/functions/overview.md @@ -33,7 +33,7 @@ FROM unnest(['African goose', 'Faroese goose', 'Hungarian goose', 'Pomeranian go > ``` -> Function chaining via the dot operator is limited to *scalar* functions; it is not available for *table* functions. For example, `SELECT 3.range()` is not supported. +> Function chaining via the dot operator is limited to *scalar* functions; it is not available for *table* functions. For example, `SELECT * FROM ('/myfile.parquet').read_parquet()` is not supported. ## Query Functions