mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
795 B
Plaintext
27 lines
795 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# odpscmd tunnel
|
|
|
|
> Data tunnel in ODPS (Open Data Processing Service).
|
|
> See also: `odpscmd`.
|
|
> More information: <https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-client>.
|
|
|
|
- [Interactive] Download table to local file:
|
|
|
|
`tunnel download {{table_name}} {{path/to/file}};`
|
|
|
|
- [Interactive] Upload local file to a table partition:
|
|
|
|
`tunnel upload {{path/to/file}} {{table_name}}/{{partition_spec}};`
|
|
|
|
- [Interactive] Upload table specifying field and record delimiters:
|
|
|
|
`tunnel upload {{path/to/file}} {{table_name}} -fd {{field_delim}} -rd {{record_delim}};`
|
|
|
|
- [Interactive] Upload table using multiple threads:
|
|
|
|
`tunnel upload {{path/to/file}} {{table_name}} -threads {{num}};`
|