Hadoop hive 运行examples例子 - andy030611的日志 - 网易博客
hive>CREAT TABLE pokes(foo INT,bar STRING);hive>LOAD DATA LOCAL INPATH './examples/files/kv1.txt' OVERWRITE INTO TABLE pokes;hive>SELECT count(1) FROM pokes;hive>SELECT count(bar),bar FROM pokes GROUP BY bar;