← 返回命令列表

Linux command

odps-tunnel 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Upload data to table

odps tunnel upload [file] [project.table]

Download table data

odps tunnel download [project.table] [output]

Upload with partition

odps tunnel upload [file] [project.table/pt=value]

Show tunnel status

odps tunnel show

说明

odps tunnel transfers data to/from MaxCompute. High-speed data channel. The tool provides bulk data operations. Part of ODPS CLI.

参数

upload _FILE_ _TABLE_
Upload data to table.
download _TABLE_ _FILE_
Download table data.
show
Show tunnel status.
-fd _DELIMITER_
Field delimiter.
-rd _DELIMITER_
Record delimiter.
--help
Display help information.

FAQ

What is the odps-tunnel command used for?

odps tunnel transfers data to/from MaxCompute. High-speed data channel. The tool provides bulk data operations. Part of ODPS CLI.

How do I run a basic odps-tunnel example?

Run `odps tunnel upload [file] [project.table]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does upload _FILE_ _TABLE_ do in odps-tunnel?

Upload data to table.