当前位置:网站首页>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';


边栏推荐
- In JS, the regular expression verifies the hour and minute, and converts the input string to the corresponding hour and minute
- [WUSTCTF2020]alison_likes_jojo
- jarvisoj_level2
- The P2V and V2V software starwind converter is really easy to use
- What is automated testing? What software projects are suitable for automated testing?
- 两个链表的第一个公共节点_链表中环的入口(剑指offer)
- 使用SystemParametersInfo访问用户界面设置
- Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?
- Huawei Cloud Database Advanced Learning
- PIP install XXX on the terminal but no module named XXX on pycharm
猜你喜欢

RDD basic knowledge points

How can genetic testing help patients fight disease?

Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?

Bjdctf 2020 Bar _ Babystack

两个链表的第一个公共节点_链表中环的入口(剑指offer)
![buuctf misc [UTCTF2020]docx](/img/e4/e160f704d6aa754e85056840e14bd2.png)
buuctf misc [UTCTF2020]docx

jarvisoj_ level2
![[image segmentation] retinal vessel segmentation based on morphology with matlab code](/img/e3/0805df81a597346ea7c2d2da20ac96.png)
[image segmentation] retinal vessel segmentation based on morphology with matlab code

【pointNet】基于pointNet的三维点云目标分类识别matlab仿真

华为云图引擎服务
随机推荐
jarvisoj_level2
[从零开始学习FPGA编程-41]:视野篇 - 摩尔时代与摩尔定律以及后摩尔时代的到来
【图像融合】基于像素显着性结合小波变换实现多焦点和多光谱图像融合附matlab代码
Win11怎么设置让CPU性能全开?Win11CPU怎么设置高性能模式?
PCL point cloud random sampling by ratio
Audio knowledge (V) -- data processing
MySQL enable binlog
【Vulhub靶场】】zabbix-SQL注入(CVE-2016-10134)漏洞复现
【MySQL 使用秘籍】克隆数据表、保存查询数据至数据表以及创建临时表
How can genetic testing help patients fight disease?
伦敦金的资金管理比其他都重要
Win11笔记本省电模式怎么开启?Win11电脑节电模式打开方法
选择器(>,~,+,[])
PCL calculates the area of a polygon
【pointNet】基于pointNet的三维点云目标分类识别matlab仿真
Research on redis High Availability Mechanism
get_started_3dsctf_2016
蓝牙耳机怎么连接电脑使用,win10电脑如何连接蓝牙耳机
[OGeek2019]babyrop
【Cnpm】使用教程