fix: #290 hive lifecycle (#293)

This commit is contained in:
琉易
2024-04-19 17:19:36 +08:00
committed by GitHub
parent 1a0e2fa77b
commit 37974ca0cb
4 changed files with 2410 additions and 2381 deletions

View File

@ -112,9 +112,14 @@ CREATE TABLE IF NOT EXISTS t1 (
name STRING COMMENT '姓名',
age SMALLINT COMMENT '年龄'
) COMMENT "t1表" lifecycle 29;
-- dtstack SparkSQL/HiveSQL lifecycle
CREATE MANAGED TABLE managed_table (
id INT COMMENT 'ID',
name STRING COMMENT '名称'
) COMMENT '测试分桶' lifecycle 29 CLUSTERED BY(id) SORTED BY (id) INTO 4 BUCKETS STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler';
) COMMENT '测试分桶' CLUSTERED BY(id) SORTED BY (id) INTO 4 BUCKETS STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' lifecycle 29;
CREATE TABLE employee (
eid int,
name String,
salary String,
destination String)
STORED AS ORC
lifecycle 10;