← 返回命令列表

Linux command

odpscmd 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start interactive console

odpscmd

Execute SQL

odpscmd -e "[SELECT * FROM table]"

Run script file

odpscmd -f [script.sql]

Use specific project

odpscmd --project [project_name]

说明

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

参数

-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.

FAQ

What is the odpscmd command used for?

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

How do I run a basic odpscmd example?

Run `odpscmd` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -e _SQL_ do in odpscmd?

Execute SQL statement.