get_exception

函数功能

UDF获取其他UDF节点上报的异常。

函数原型

1
get_exception(self) -> tuple

参数说明

返回值

返回tuple(bool, int, int),元组中各元素含义如下。

异常处理

约束说明

如果dataflow graph未通过set_exception_catch接口使能异常上报,调用该接口返回值第一个元素为false。