mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
commit
5bb2719231
1 changed files with 19 additions and 0 deletions
19
pages/common/odps-tunnel.md
Normal file
19
pages/common/odps-tunnel.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# 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}};`
|
Loading…
Add table
Reference in a new issue