1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/odps-resource.md

28 lines
416 B
Markdown
Raw Normal View History

# odps resource
> Manage resources in ODPS (Open Data Processing Service).
- Show resources in the current project:
`list resources;`
- Add file or archive:
`add file {{file_name}} as {{alias}};`
- Add archive:
`add archive {{archive.tar.gz}} as {{alias}};`
- Add Jar package:
`add jar {{package.jar}};`
- Add Python script:
`add py {{script.py}};`
- Delete resource:
`drop resource {{resource_name}};`