Skip to content

Commit 5732276

Browse files
committed
updated automation docs
1 parent 6c20d5b commit 5732276

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/reference/bqtools/concepts/resources.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ SELECT *
1919
FROM ...
2020
```
2121

22+
Note that using the `start_date` and `end_date` `DATE` arguments in the query is optional, but they _must_ be defined as table function arguments.
23+

docs/reference/bqtools/functions/automation.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ _**Dependencies**_ | `bqtools.[region].parse_resource_id`, `bqtools.[region].get
5151
ARGUMENT | DATA TYPE | DESCRIPTION
5252
--- | --- | ---
5353
source_table_id | STRING | The source date-partitioned or date-sharded data table.
54-
transform_resource_id | STRING | The source date-bounded table function defining the transformation.
54+
transform_resource_id | STRING | The source [date-bounded table function](/reference/bqtools/concepts/resources#date-bounded-table-function) defining the transformation.
5555
destination_table_id | STRING | The destination date-partitioned table.
5656
execution_options | JSON | Options to configure specific executions.
5757
destination_table_options | JSON | Deployment options for the destination table.
5858

59+
For sharded table types, include the trailing underscore in the source_table_id (e.g. `project_id.analytics1234.events_`).
5960

6061
??? note "EXECUTION OPTIONS"
6162
=== "execution_options"

0 commit comments

Comments
 (0)