创建分区表
CREATE TABLE student_par (
id STRING COMMENT 'id',
name STRING COMMENT 'name'
)PARTITIONED BY (class STRING ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE;
CREATE TABLE student_par (
id STRING COMMENT 'id',
name STRING COMMENT 'name'
)PARTITIONED BY (class STRING ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE;
本文标题:hive test partiton table
本文链接:https://www.haomeiwen.com/subject/rshboftx.html
网友评论