1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 13:42:07 +02:00
tldr/pages/common/odps-func.md
2021-06-09 08:12:11 +02:00

548 B

odps func

Manage functions in ODPS (Open Data Processing Service). See also odps. More information: https://www.alibabacloud.com/help/doc-detail/27971.htm.

  • Show functions in the current project:

list functions;

  • Create a Java function using a .jar resource:

create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';

  • Create a Python function using a .py resource:

create function {{func_name}} as {{script.Func}} using '{{script.py}}';

  • Delete a function:

drop function {{func_name}};