Skip to content

Commit 58f7cd7

Browse files
authored
Merge pull request #97 from embulk/readme-auto-create-table
Update README.md to explain auto_create_table clearly
2 parents 6fd872c + f01d356 commit 58f7cd7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ v0.3.x has incompatibility changes with v0.2.x. Please see [CHANGELOG.md](CHANGE
4747
| location | string | optional | nil | geographic location of dataset. See [Location](#location) |
4848
| table | string | required | | table name, or table name with a partition decorator such as `table_name$20160929`|
4949
| auto_create_dataset | boolean | optional | false | automatically create dataset |
50-
| auto_create_table | boolean | optional | false | See [Dynamic Table Creating](#dynamic-table-creating) |
50+
| auto_create_table | boolean | optional | false | See [Dynamic Table Creating](#dynamic-table-creating) and [Time Partitioning](#time-partitioning) |
5151
| schema_file | string | optional | | /path/to/schema.json |
5252
| template_table | string | optional | | template table name. See [Dynamic Table Creating](#dynamic-table-creating) |
5353
| prevent_duplicate_insert | boolean | optional | false | See [Prevent Duplication](#prevent-duplication) |
@@ -250,9 +250,10 @@ out:
250250

251251
### Dynamic table creating
252252

253-
When `auto_create_table` is set to true, try to create the table using BigQuery API.
253+
This plugin tries to create a table using BigQuery API when
254254

255-
If table already exists, insert into it.
255+
* mode is either of `delete_in_advance`, `replace`, `replace_backup`, `append`.
256+
* mode is `append_direct` and `auto_create_table` is true.
256257

257258
There are 3 ways to set schema.
258259

0 commit comments

Comments
 (0)