LinuxCommandLibrary

odps

odps

TLDR

Start the command-line with a custom configuration file

$ odpscmd --config=[odps_config.ini]
copy


Switch current project
$ use [project_name];
copy


Show tables in the current project
$ show tables;
copy


Describe a table
$ desc [table_name];
copy


Show table partitions
$ show partitions [table_name];
copy


Describe a partition
$ desc [table_name] partition ([partition_spec]);
copy

Copied to clipboard