Files

9 lines
660 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
社区版OceanBase支持调用Python和Java编写的UDF(User-Defined Function)。您可以使用Python或Java编写UDF函数,并将其部署到OceanBase中。在SQL查询中使用这些UDF函数可以增强查询功能,实现更复杂的数据处理和分析。
但要注意的是,在使用UDF时需要遵循一些规则和限制,例如:
1. UDF函数必须具有唯一的函数名。
2. UDF函数不能有输出参数。
3. UDF函数不能修改数据库表结构。
4. UDF函数不能访问其他数据库表的数据。
5. UDF函数不能执行系统命令或调用外部程序。
6. UDF函数的执行时间不能超过OceanBase的限制。