Doris/SelectDB
Last updated
Last updated
Define the model as "View" in the metadata panel
Table Configuration
Available configurations:
materialized
How the model will be materialized into Doris. Must be table
to create a table model.
Required, can be defined in metadata
duplicate_key
The key list of Doris table model: 'duplicate'.
Required
partition_by
The partition key list of Doris.
Optional
partition_type
The partition type of Doris.
Optional (default: RANGE
)
partition_by_init
The partition rule or some real partitions item.
Optional
distributed_by
The bucket key list of Doris.
Required
buckets
The bucket number in one Doris partition.
Required
properties
The other configuration of Doris.
Required
An incremental Doris table, item table model must be 'unique' and is configured using the following syntax:
Available configurations:
materialized
How the model will be materialized into Doris. Must be table
to create a table model.
Required
unique_key
Required
partition_by
Optional
partition_type
The partition type of Doris.
Optional (default: RANGE
)
partition_by_init
The partition rule or some real partitions item.
Optional
distributed_by
Required
buckets
The bucket number in one Doris partition.
Required
properties
Required
Here's a sample model using Doris for incrementally update by partition:
The key list of Doris table model :''.
The partition key list of Doris. ()
The bucket key list of Doris. ()
The other configuration of Doris. ()