----创建kudu表
CREATE TABLE Databases.Table1
(
id INT,name STRING,age STRING,
PRIMARY KEY(id1)
)
PARTITION BY HASH PARTITIONS 3
STORED AS KUDU
-----创建kudu试图
CREATE VIEW IF NOT EXISTS Databases.view1 AS
SELECT
id,name,age
FROM Databases.Table1;
网友评论