创建分区表
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;