1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 08:55:35 +02:00
tldr/pages/common/odps.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

465 B

odps

Aliyun ODPS (Open Data Processing Service) command-line tool.

  • Start the command-line with a custom configuration file:

odpscmd --config={{odps_config.ini}}

  • Switch current project:

use {{project_name}};

  • Show tables in the current project:

show tables;

  • Describe a table:

desc {{table_name}};

  • Show table partitions:

show partitions {{table_name}};

  • Describe a partition:

desc {{table_name}} partition ({{partition_spec}});