LinuxCommandLibrary

odps-tunnel

odps-tunnel

TLDR

Download table to local file

$ tunnel download [table_name] [path/to/file];
copy


Upload local file to a table partition
$ tunnel upload [path/to/file] [table_name]/[partition_spec];
copy


Upload table specifying field and record delimiters
$ tunnel upload [path/to/file] [table_name] -fd [field_delim] -rd [record_delim];
copy


Upload table using multiple threads
$ tunnel upload [path/to/file] [table_name] -threads [num];
copy

Copied to clipboard