当前位置:网站首页>MaxCompute远程连接,上传、下载数据文件操作
MaxCompute远程连接,上传、下载数据文件操作
2022-06-24 06:43:00 【简明编程】
MaxCompute远程连接,上传数据文件
MaxCompute远程连接
文档地址
https://help.aliyun.com/document_detail/27971.html#section-7ce-cnh-euq
购买MaxCompute

同意
开通DataWorks
然后会自动让你开通DataWorks,选择免费开通基础版



创建项目

填写信息

等待构建完成即可
远程连接
注意需要有Java环境
下载客户端

解压打开
进入配置odps_config.ini

具体配置如下:
project_name=
access_id=
access_key=
end_point=
log_view_host=
https_check=
# confirm threshold for query input size(unit: GB)
data_size_confirm=
# this url is for odpscmd update
update_url=
# download sql results by instance tunnel
use_instance_tunnel=
# the max records when download sql results by instance tunnel
instance_tunnel_max_record=
# IMPORTANT:
# If leaving tunnel_endpoint untouched, console will try to automatically get one from odps service, which might charge networking fees in some cases.
# Please refer to Endpoint
# tunnel_endpoint=
# use set.<key>=
# e.g. set.odps.sql.select.output.format=
复制项目名称

获取AccessKey
点击创建
进行验证


连接地址对照表(配置end_point和tunnel_endpoint)


双击打开

连接成功

查看表

tunnel文档
https://help.aliyun.com/document_detail/27833.html
tunnel上传文件

tunnel下载文件

创建分区表
以gender为分区
create test02_p(id int,name string) partitioned by(gender string);
alter table test02_p add if not exists partition (gender='male');


分区表上传
tunnel upload D:\2020-2024大学学习\大数据考证\实验数据\ODPS_DEMO\Resources\02-DataTransfer\t_tunnel_p.csv test02_p/gender='male';

分区表查询
select * from test02_p where gender='male';


边栏推荐
- [image fusion] image fusion based on NSST and PCNN with matlab code
- Spark project Packaging Optimization Practice
- Win11分磁盘怎么分?Win11系统怎么分磁盘?
- App management platform app host
- High energy ahead: Figure 18 shows you how to use the waterfall chart to visually reflect data changes
- 第三方软件测试公司如何选择?2022国内软件测试机构排名
- The first common node of two linked lists_ The entry of the link in the linked list (Sword finger offer)
- 【TS】函数类型
- The initial user names and passwords of Huawei devices are a large collection that engineers involved in Huawei business should keep in mind and collect!
- 2、 What is the principle of layer 3 and 4 switching technology? Recommended collection!
猜你喜欢
![[GUET-CTF2019]zips](/img/79/22ff5d4a3cdc3fa9e0957ccc9bad4b.png)
[GUET-CTF2019]zips

Introduction to raspberry pie 4B development board

What is the mentality of spot gold worth learning from

MFC使用控制台时 项目路径中不能有空格和中文,否则会报错误 LNK1342 未能保存要编辑的二进制文件的备份副本等

相机标定(标定目的、原理)
![[Proteus] Arduino uno + ds1307+lcd1602 time display](/img/96/d8c1cacc8a633c679b1a58a1eb8cb9.png)
[Proteus] Arduino uno + ds1307+lcd1602 time display

Unexpected token u in JSON at position 0
![[signal recognition] signal modulation classification based on deep learning CNN with matlab code](/img/0b/7475cd4cf2ddce912816ab3c29b914.png)
[signal recognition] signal modulation classification based on deep learning CNN with matlab code

基因检测,如何帮助患者对抗疾病?
![buuctf misc [UTCTF2020]docx](/img/e4/e160f704d6aa754e85056840e14bd2.png)
buuctf misc [UTCTF2020]docx
随机推荐
JVM debugging tool -arthas
20 not to be missed ES6 tips
取模软件 模拟显示验证取模数据正确性 逆向 把点阵数组bin文件转显示
OMX initialization process
[image fusion] image fusion based on directional discrete cosine transform and principal component analysis with matlab code
get_ started_ 3dsctf_ two thousand and sixteen
Bjdctf 2020 Bar _ Babystack
Stop looking! The most complete data analysis strategy of the whole network is here
Hyperledger fabric ledger snapshot - fast data synchronization
[OGeek2019]babyrop
0 foundation a literature club low code development member management applet (II)
软件性能测试分析与调优实践之路-JMeter对RPC服务的性能压测分析与调优-手稿节选
大厂不是衡量能力的唯一出路,上财学姐毕业三年的经验分享
【图像特征提取】基于脉冲耦合神经网络(PCNN)实现图像特征提取含Matlab源码
选择器(>,~,+,[])
[image fusion] image fusion based on pseudo Wigner distribution (PWD) with matlab code
How can genetic testing help patients fight disease?
Leetcode probability interview shock series 11~15
bjdctf_ 2020_ babystack
Fine! Storage knowledge is a must for network engineers!