Versions Compared

Key

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

Introduction

...

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


Sink Properties

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

Optional

(default

5480

50000)

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://www.ibm.com/support/knowledgecenter/bg/SSEPGG_9.7.0

/com.ibm.db2.luw.apdv.java.doc/src/tpc/imjcc_r0052075.html

DB2 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
HostStringDB2 hostRequired (defaults to localhost on UI)
PortNumberSpecific port which DB2 is listening to

Optional

(default
5480
50000)
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://www.ibm.com/support/knowledgecenter/bg/SSEPGG_9.7.0

/com.ibm.db2.luw.apdv.java.doc/src/tpc/imjcc_r0052075.html

DB2 connection properties



Action Properties


User Facing NameTypeDescriptionConstraints
LabelStringLabel for UI
HostStringDB2 hostRequired (defaults to localhost on UI)
PortNumberSpecific port which DB2 is listening to

Optional

(default
5480
50000)
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://www.ibm.com/support/knowledgecenter/bg/SSEPGG_9.7.0

/com.ibm.db2.luw.apdv.java.doc/src/tpc/imjcc_r0052075.html

DB2 connection properties


Database CommandStringDatabase command to runValid SQL query



Approach

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

...