Iceberg如何创建分区表?

提问者:帅平 问题分类:大数据
Iceberg如何创建分区表?
1 个回答
久碍
久碍
创建普通分区表示例如下:
create table if not exists test1.default.users(id int,name string,age int,loc string) using iceberg partitioned by loc)

创建隐藏分区表示例如下:
create table if not exists test1.default.users(id int,name string,age int,loc string,cts timestamp) using iceberg partitioned by (years(cts))
发布于:6个月前 (01-25) IP属地:未知
我来回答