Skip to content

Commit e85e44d

Browse files
authored
Merge pull request #335 from tinybirdco/add_insertion_date
Explicitly add `insertion_date`
2 parents a1de90f + 338deee commit e85e44d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

add_column_BQ_ds/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ To keep your `main` branch in sync with this, you can follow these steps:
3030
2. Execute `tb pull --force` with a CLI version >= 5.0.0.
3131
3. Commit and merge the changes.
3232

33-
[Pull Request #3](TODO)
33+
[Pull Request #3](https://github.com/tinybirdco/use-case-examples/pull/335)

add_column_BQ_ds/datasources/bq_nullable.datasource

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ DESCRIPTION >
33

44
SCHEMA >
55
`country_code` Nullable(String),
6-
`project` Nullable(String)
6+
`project` Nullable(String),
7+
`insertion_date` DateTime DEFAULT now()
78

89
ENGINE "MergeTree"
910
ENGINE_PARTITION_KEY "toYear(insertion_date)"

0 commit comments

Comments
 (0)