Overview
ob_enable_python_udf is used to enable or disable the Python UDF feature.
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
This parameter can be modified by both the
systenant and user tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | FALSE |
| Value range | TRUE/FALSE |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
Whether to enable the Python UDF feature. This parameter must be used together with the ob_python_home parameter.
Usage examples
Enable Python UDF feature
obclient> ALTER SYSTEM SET ob_enable_python_udf = TRUE tenant mysql;Disable Python UDF feature
obclient> ALTER SYSTEM SET ob_enable_python_udf = FALSE tenant mysql;