1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 05:57:56 +01:00
tldr/pages/common/odps-func.md
程亦超(何兮) 0184a14b99 odps-func: miss {{ }}
Change-Id: Ib9aee491350b060262a04c7e7a4ba869442c9bd4
2016-05-15 16:50:36 +08:00

447 B

odps func

Manage functions in ODPS (Open Data Processing Service).

  • 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}};