Skip to content

Commit

Permalink
explain option engine configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
asuncepeda committed Sep 18, 2024
1 parent 51e0817 commit 5fa80d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iterate_dynamodb/datasources/dynamodb_ci.datasource
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ SCHEMA >
`slug` String `json:$.slug` DEFAULT 'x',
`now_ts` DateTime64(3) `json:$.now_ts` DEFAULT now64()


-- 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
ENGINE "ReplacingMergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(toDateTime64(_timestamp, 3))"
ENGINE_SORTING_KEY "pk, sk"
ENGINE_VER "_timestamp"
-- engine configuration end

IMPORT_SERVICE 'dynamodb'
IMPORT_CONNECTION_NAME 'ddb_main_connection'
IMPORT_TABLE_ARN 'arn:aws:dynamodb:us-east-1:819314934727:table/test_zembula_dates'
IMPORT_TABLE_ARN 'arn:aws:dynamodb:us-east-1:819314934727:table/use_cases_iteration'
IMPORT_EXPORT_BUCKET 's3connector-asun-test'

0 comments on commit 5fa80d9

Please sign in to comment.