Db2Dest
class Db2Dest(
tables: Db2TableNamesSpec,
if_table_exists: IfTableExistsSpec = 'append',
transactional: bool = True,
dest_cfg: DestCfgSpec | None = None,
)
Bases: Dest
Categories: destination
Db2 destination for @subscriber -- one target table per slot.
Parameters
parameter
tablesDb2TableNamesSpec (list[str])Target table names, qualified or bare (see
Db2TableNameSpec); one input slot per table, in order.
parameter
if_table_existsIfTableExistsSpec (Literal['append', 'replace'])"append" (default) adds rows; "replace"
truncates the table before inserting.
parameter
dest_cfgDestCfgSpec | None (Mapping[Literal['db2.logging_level', 'tabsdata.sql.write_engine', 'tabsdata.sql.chunk_size'], Any] | None)Optional config mapping over the allowed keys only
(db2.logging_level, tabsdata.sql.write_engine,
tabsdata.sql.chunk_size).