guopengfa
发布于 2024-03-26 / 50 阅读 / 0 评论 / 0 点赞

Doris使用记录

Doris Tips

create table example

CREATE TABLE celery_tasks_valuetable (
	id BIGINT, 
	`StartDate` DATEV2, 
	`EndDate` DATEV2, 
	`Value` FLOAT, 
	`BranchNumber_id` TEXT, 
	`ValueTypeId_id` BIGINT, 
	`UpdateTime` DATETIME
)
DISTRIBUTED BY HASH(`EndDate`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1"
)

评论