Versions Compared

Key

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

Introduction

...

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:

Netezza connection properties


Table NameStringName of a database table to write to

...

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:

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.

...