You can specify file import mode in the out section of the load.yml file.
The out: section controls how data is imported into a Treasure Data table.
For example, you may choose to append data or replace data in an existing table in Treasure Data.
Mode | Description | Examples |
---|---|---|
Append | Records are appended to the target table. | in: ... out: mode: append |
Always Replace | Replaces data in the target table. Any manual schema changes made to the target table remain intact. | in: ... out: mode: replace |
Replace on new data | Replaces data in the target table only when there is new data to import. | in: ... out: mode: replace_on_new_data |