摘要:
bin/sqoop export > --connect jdbc:mysql://master:3306/mysql > --username root > --password 000000 > --table table3 > --num-mappers 1 > --export-dir /u 阅读全文
posted @ 2022-10-04 18:09
lss1226
阅读(103)
评论(0)
推荐(0)
摘要:
(1)统计每天各个机场的销售数量和销售金额。要求的输出字段 day_id,sale_nbr,,cnt,round 日期编号,卖出方代码,数量,金额。 命令: 查询语句: select day_id,sale_nbr,sum(cnt),sum(round) from sale where sale_n 阅读全文
posted @ 2022-10-04 18:09
lss1226
阅读(22)
评论(0)
推荐(0)
摘要:
输入schematool -initSchema -dbType mysql -verbose初始化hive元数据库 hive建表 create table test0 ( day_id string, sale_nbr string, buy_nbr string, cnt int, round 阅读全文
posted @ 2022-10-04 18:08
lss1226
阅读(29)
评论(0)
推荐(0)

浙公网安备 33010602011771号