Note
This parameter was introduced in V4.3.5 BP1.
Description
ob_enable_java_env specifies whether to enable the Java environment for external table SDK (Java SDK) access.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | BOOL |
| Default value | false |
| Value range | true/false |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Example
After you set this parameter to true, external tables that use the Java SDK can read and write data normally.
ALTER SYSTEM SET ob_enable_java_env=true;