Skip to content

Commit e09b11f

Browse files
authored
12700 dynamo cases base with add (#366)
* add new DynamoDB Data Source * explain option engine configuration
1 parent 03f1ba4 commit e09b11f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
SCHEMA >
3+
`pk` String `json:$.pk`,
4+
`sk` String `json:$.sk`,
5+
`slug` String `json:$.slug` DEFAULT 'x',
6+
`now_ts` DateTime64(3) `json:$.now_ts` DEFAULT now64()
7+
8+
9+
# Optional ENGINE section, if you don't need special configuration for your table you can omit it. These are the default values that will be applied
10+
11+
ENGINE "ReplacingMergeTree"
12+
ENGINE_PARTITION_KEY "toYYYYMM(toDateTime64(_timestamp, 3))"
13+
ENGINE_SORTING_KEY "pk, sk"
14+
ENGINE_VER "_timestamp"
15+
16+
# engine configuration end
17+
18+
IMPORT_SERVICE 'dynamodb'
19+
IMPORT_CONNECTION_NAME 'ddb_main_connection'
20+
IMPORT_TABLE_ARN 'arn:aws:dynamodb:us-east-1:819314934727:table/use_cases_iteration'
21+
IMPORT_EXPORT_BUCKET 's3connector-asun-test'

0 commit comments

Comments
 (0)