- 0
- 0
- 约6.57千字
- 约 8页
- 2026-05-08 发布于北京
- 举报
数据源获取地址推荐:
1.修改电脑短日期自动格式
2.将数据源上传到Linux本地#scp‑r文件
路径root@192.168.23.4:/root
3.查看数据源[root@master~]#
head‑10.csv
_
#建表createtabletwp(用户idstring,
___
商品idstring,行为类型string,用户地
理位置_
哈希string,商品类别string,日期
_string,小时_string)rowformat
delimitedfieldsterminatedby,;
#导入数据loaddatalocalinpath
/root/.csvintotabletwp;
#数据查询select*
fromtwplimit2;
#查询当前数据的行数
s
原创力文档

文档评论(0)