Skip to content

Commit a2aeae1

Browse files
authored
add new column to ds (#360)
* add new column to ds schema and query
1 parent a29e1f8 commit a2aeae1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

iterate_snowflake/datasources/stock_prices.datasource

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ SCHEMA >
66
`low` Float32,
77
`close` Float32,
88
`volume` Float32,
9-
`split_coefficient` Float32
9+
`split_coefficient` Float32,
10+
`added` String
1011

1112
ENGINE "MergeTree"
1213
ENGINE_PARTITION_KEY "toDate(date)"
@@ -16,5 +17,5 @@ IMPORT_SERVICE 'snowflake'
1617
IMPORT_CONNECTION_NAME 'sf_conn'
1718
IMPORT_EXTERNAL_DATASOURCE 'tinybird.samples.stock_prices'
1819
IMPORT_STRATEGY 'replace'
19-
IMPORT_QUERY 'SELECT date, symbol, open, high, low, close, volume, split_coefficient from tinybird.samples.stock_prices'
20+
IMPORT_QUERY 'SELECT date, symbol, open, high, low, close, volume, split_coefficient, added from tinybird.samples.stock_prices'
2021
IMPORT_SCHEDULE '@on-demand'

0 commit comments

Comments
 (0)