一、sql
1. 向hive里的某张表添加数据
load data local inpath '/home/ocdp/hfb/sex.txt' OVERWRITE into table TD_NP_ENUM_COC_BATCH1_DAY_COLUMN_013;
2. 查询
select * from TD_NP_ENUM_COC_BATCH1_DAY_COLUMN_013 as t;
3. 清空表
truncate table TD_NP_ENUM_COC_BATCH1_DAY_COLUMN_013;
标签:COLUMN,ENUM,HIVE,COC,初识,sql,NP,TD,DAY From: https://www.cnblogs.com/tyxa/p/7019418.html