mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-21 17:01:44 +03:00
2c86fb2c8e
Change-Id: Id8f584afafc35874f2046f12d1c886bc77f5d105
20 lines
488 B
Markdown
20 lines
488 B
Markdown
# odps tunnel
|
|
|
|
> Data tunnel in ODPS (Open Data Processing Service).
|
|
|
|
- Download table to local file:
|
|
|
|
`tunnel download {{table_name}} {{file}};`
|
|
|
|
- Upload local file to a table partition:
|
|
|
|
`tunnel upload {{file}} {{table_name}}/{{partition_spec}};`
|
|
|
|
- Upload table specifying field and record delimiters:
|
|
|
|
`tunnel upload {{file}} {{table_name}} -fd {{field_delim}} -rd {{record_delim}};`
|
|
|
|
- Upload table using multiple threads:
|
|
|
|
`tunnel upload {{file}} {{table_name}} -threads {{num}};`
|