Versions Compared

Key

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

Introduction

...

The suggestion is to create maven submodule netezza-plugin under database-plugins repo.


Sink Properties

User Facing NameTypeDescriptionConstraints
LabelStringLabel for UI
Reference NameStringUniquely identified name for lineage
HostStringNetezza hostRequired (defaults to localhost on UI)
PortNumberSpecific port which Netezza is listening to

Optional

(default 5480)

DatabaseStringDatabase name to connectRequired
UsernameStringDB usernameRequired
PasswordPasswordUser passwordRequired
Transaction Isolation LevelSelectTransaction isolation level for queries run by this sink
Connection ArgumentsKeyvalue

A list of arbitrary string tag/value pairs as connection arguments, list of properties

https://docs.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-2017

:

Netezza connection properties


Table NameStringName of a database table to write to

Source Properties


User Facing NameTypeDescriptionConstraints
LabelStringLabel for UI
Reference NameStringUniquely identified name for lineage
HostStringNetezza host Required (defaults to localhost on UI)
PortNumberSpecific port which Netezza is listening to

Optional

(default 5480)
DatabaseStringDatabase name to connectRequired
Import QueryStringQuery for import dataValid SQL query
UsernameStringDB usernameRequired
PasswordStringUser passwordRequired
Bounding QueryStringReturns max and minof split-By FiledValid SQL query
Split-By Field NameStringField name which will be used to generate splits
Number of Splits to GenerateNumberNumber of splits to generate
Transaction Isolation LevelSelectTransaction isolation level for queries run by this sink
Connection ArgumentsKeyvalue

A list of arbitrary string tag/value pairs as connection arguments, list of

properties https://docs.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-2017

properties: Netezza connection properties



Action Properties


User Facing NameTypeDescriptionConstraints
LabelStringLabel for UI
HostStringNetezza host Required (defaults to localhost on UI)
PortNumberSpecific port which Netezza is listening to

Optional

(default 5480)
DatabaseStringDatabase name to connectRequired
Username

String

DB usernameRequired
PasswordStringUser passwordRequired
Connection ArgumentsKeyvalue

A list of arbitrary string tag/value pairs as connection arguments, list of

properties https://docs.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-2017

properties:

Netezza connection properties


Database CommandStringDatabase command to runValid SQL query


Data Types Mapping

Netezza Data TypeCDAP Schema Data TypeSupportComment
BOOLEANSchema.Type.BOOLEAN+
BYTEINTSchema.Type.INT+
CHARSchema.Type.STRING+
DATESchema.LogicalType.DATE+
NUMERIC/DECIMALSchema.LogicalType.DECIMAL+
DOUBLE PRECISION/FLOAT(15)Schema.Type.DOUBLE+
FLOAT(N)Schema.Type.FLOAT/Schema.Type.DOUBLE+Can be mapped to FLOAT or DOUBLE, depends on N
INTEGERSchema.Type.INT+
SMALLINTSchema.Type.INT+
BIGINTSchema.Type.LONG+
NCHARSchema.Type.STRING+
NVARCHARSchema.Type.STRING+
REAL/FLOAT(6)Schema.Type.FLOAT+
TIMESchema.LogicalType.TIME_MICROS+
TIMETZ/TIME WITH TIME ZONESchema.Type.STRING+
TIMESTAMPSchema.LogicalType.TIMESTAMP_MICROS+
VARCHARSchema.Type.STRING+
INTERVALSchema.Type.STRING+
VARBINARYSchema.Type.BYTES+
ST_GEOMETRYSchema.Type.BYTES+



Approach

Create a module netezza-plugin in database-plugins project, reuse existing database-plugins code if possible. Add Netezza-specific properties to configuration, add support for Netezza-specific datatypes. Update UI widgets JSON definitions.

...