kudu建表/试图sql

----创建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;

你可能感兴趣的:(kudu建表/试图sql)