spark-sql操作hive和hdfs
情况一:spark-sql直接操作hive
样例数据head -5 u.user
1|24|M|technician|85711
2|53|F|other|94043
3|23|M|writer|32067
4|24|M|technician|43537
5|33|F|other|15213hive建表create table user(
nbr string,
age string,
sex s
原创
2016-08-20 16:29:27 ·
2042 阅读 ·
0 评论