Runs an Oracle query at the end of the pipeline run. Can be configured to run only on success, only on failure, or always at the end of the run.
For example, you might have a pipeline that imports data from a database table to HDFS files. At the end of the run, you might want to run a query that deletes the data that was read from the table.
Optional. When to run the action. Must be 'completion', 'success', or 'failure'. Defaults to 'success'. If set to 'completion', the action will be executed regardless of whether the pipeline run succeeded or failed. If set to 'success', the action will only be executed if the pipeline run succeeded. If set to 'failure', the action will only be executed if the pipeline run failed.
Default is success.
Required. Name of the JDBC driver to use.
Default is oracle.
Required. Host that Oracle is running on.
Default is localhost.
Required. Port that Oracle is running on.
Default is 1521.
Required. Whether to use an SID, Service Name, or TNS Connect Descriptor when connecting to the database.
SID/Service Name/TNS Connect Descriptor
Required. Oracle connection point (Database name, Service name, or a TNS Connect Descriptor). When using TNS, place the full TNS Connect Descriptor in the text field. For example: (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 18.104.22.168)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED) (SERVICE_NAME = XE)))
Required. Query to run.
Optional. User identity for connecting to the specified database.
Optional. Password to use to connect to the specified database.
Optional. A list of arbitrary string key/value pairs as connection arguments. These arguments will be passed to the JDBC driver as connection arguments for JDBC drivers that may need additional configurations.
Default Batch Value
Optional. The default batch value that triggers an execution request.
Default is 10.
You want to delete all records from Oracle table "userEvents" of database "XE" running on localhost, port 3306, without authentication using driver "oracle" if the pipeline completes successfully. Ensure that the driver for Oracle is installed. You can also driver name for some specific driver, otherwise "oracle" will be used , and then configure the plugin with: