GBase 8a MPP数据库支持Python UDF函数吗?能否提供个示例。
1条回答 默认 最新
上善若水水水 2021-12-30 17:28关注gbase> create function type_int(i int) returns int $$ return i $$ LANGUAGE plpythonu;
Query OK, 0 rows affected (Elapsed: 00:00:00.34)gbase> select type_int(1);
+-------------+
| type_int(1) |
+-------------+
| 1 |
+-------------+
1 row in set (Elapsed: 00:00:00.09)gbase> drop function type_int;
Query OK, 0 rows affected (Elapsed: 00:00:00.03)本回答被题主选为最佳回答 , 对您是否有帮助呢?解决评论 打赏 举报无用 1