Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The action can be used whenever you want to run a Netezza command before or after a data pipeline. For example, you may want to run a sql update command on a database before the pipeline source pulls data from tables.

Configuration

Property

Macro Enabled?

Description

Driver Name

No

Required. Name of the JDBC driver to use.

Default is netezza.

Host

No

Required. Host that Netezza is running on.

Default is localhost.

Port

Yes

Required. Port that Netezza is running on.

Default is 5480.

Database

Yes

Required.

Database Command

Yes

Required.

Username

Yes

Optional. User identity for connecting to the specified database.

Password

Yes

Optional. Password to use to connect to the specified database.

Connection Arguments

Yes

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.

Example

Suppose you want to execute a query against a Netezza database named "prod" that is running on "localhost" port 5480. Ensure that the driver for Netezza is installed. You can also provide driver name for some specific driver, otherwise "netezza" will be used, and then configure the plugin with:

Property

Value

Driver Name

netezza

Host

localhost

Port

5480

Database

prod

Database Command

UPDATE table_name SET price = 20 WHERE ID = 6