LinuxCommandLibrary

odpscmd

maxCompute Console

TLDR

Start interactive console

$ odpscmd
copy
Execute SQL
$ odpscmd -e "[SELECT * FROM table]"
copy
Run script file
$ odpscmd -f [script.sql]
copy
Use specific project
$ odpscmd --project [project_name]
copy

SYNOPSIS

odpscmd [options]

DESCRIPTION

odpscmd is MaxCompute Console. Interactive CLI for Alibaba Cloud big data.
The tool provides SQL execution and management. Java-based client.

PARAMETERS

-e SQL

Execute SQL statement.
-f FILE
Execute script file.
--project NAME
Specify project.
--endpoint URL
Service endpoint.
-u CONFIG
User configuration file.
--help
Display help information.

CAVEATS

Requires Java. Legacy tool name. Use odps for newer CLI.

HISTORY

odpscmd was the original MaxCompute CLI for Alibaba Cloud data processing.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community