随笔分类 - Hive
摘要:CREATE TABLE B(id BIGINT)COMMENT 'A bucketed copy of user_info'CLUSTERED BY(id) INTO 10 BUCKETS;CREATE TABLE B1(id BIGINT);LOAD DATA local INPATH '/ho...
阅读全文
摘要:(1)建student & student1 表:(hive 托管)create table student(id INT, age INT, name STRING)partitioned by(stat_date STRING) clustered by(id) sorted by(age) ...
阅读全文
摘要:hive 中使用lzo 1 启动hive 错误Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf at java.lang.Class.forName0(Na...
阅读全文