Table supports selecting one from Duplicate Key/Unique Key/Primary Key
Table supports set ENGINE
Table supports set keys
Table supports set DISTRIBUTED BY
Table supports set PROPERTIES
Table supports set PARTITION BY
Notice:
Create table as can only set engine='OLAP' and table_type='DUPLICATE'
distributed_by is must
Test:
test_dbt_empty: empty
test_dbt_base: base [ERROR: distributed_by is must ]
test_dbt_ephemeral: ephemeral [ERROR: not support with ]
test_dbt_incremental: incremental [ERROR: distributed_by is must ]
test_dbt_snapshot_strategy_timestamp: snapshot_strategy_timestamp [ERROR: not support with ]
test_dbt_snapshot_strategy_check_cols: snapshot_strategy_check_cols [ERROR: not support with ]
test_dbt_data_test: data_test
test_dbt_schema_test: schema_test [ERROR: distributed_by is must ]
test_dbt_ephemeral_data_tests: data_test_ephemeral_models [ERROR: not support with ]
4
Duplicate Key
/Unique Key
/Primary Key
ENGINE
keys
DISTRIBUTED BY
PROPERTIES
PARTITION BY
Notice:
Create table as
can only set engine='OLAP' and table_type='DUPLICATE'Test:
test_dbt_empty: empty test_dbt_base: base
[ERROR: distributed_by is must ]
test_dbt_ephemeral: ephemeral[ERROR: not support with ]
test_dbt_incremental: incremental[ERROR: distributed_by is must ]
test_dbt_snapshot_strategy_timestamp: snapshot_strategy_timestamp[ERROR: not support with ]
test_dbt_snapshot_strategy_check_cols: snapshot_strategy_check_cols[ERROR: not support with ]
test_dbt_data_test: data_test test_dbt_schema_test: schema_test[ERROR: distributed_by is must ]
test_dbt_ephemeral_data_tests: data_test_ephemeral_models[ERROR: not support with ]
example:
dbt seed properties(whatever_you_want.yml):
Minimum configuration:
Complete configuration:
dbt run config(table/incremental):
Minimum configuration:
Complete configuration: