新建Hive测试库和表
2018-09-07 本文已影响17人
咖啡大象不含咖啡
CREATE DATABASE test_db;
use test_db;
CREATE TABLE IF NOT EXISTS employee ( eid int, name String,salary String, destination String) COMMENT 'Employee details' ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' STORED AS TEXTFILE;