Skip to content

feat: add default value processing to ibmi#84

Open
tomsharpjhc wants to merge 1 commit intodebezium:mainfrom
jhc-systems:default-value-processing
Open

feat: add default value processing to ibmi#84
tomsharpjhc wants to merge 1 commit intodebezium:mainfrom
jhc-systems:default-value-processing

Conversation

@tomsharpjhc
Copy link
Copy Markdown

At present, the system ignores default values from the messaging.

I think it would be preferable to pass on the default where provided. Also tidy up some of the processing for converting default values.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 6, 2026

❌ Developer Certificate of Origin (DCO) check failed.

Hi @tomsharpjhc, please sign off all commits with:

git commit -s

If pull request commits are not signed off, the pull request cannot be merged. For more information about why this is required, please see our blog about contribution requirement changes.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 6, 2026

Hi @tomsharpjhc, thanks for your contribution. Please prefix the commit message(s) with the debezium/dbz#xxx GitHub issue key.

@Naros
Copy link
Copy Markdown
Member

Naros commented Feb 6, 2026

Hi @tomsharpjhc please log an issue at https://github.com/debezium/dbz and prefix your commits with the issue number, e.g. debezium/dbz#XXXX. Thanks.

Comment on lines -109 to -110
case Types.TIMESTAMP_WITH_TIMEZONE:
throw new UnsupportedOperationException("not yet implemented to default to timestamp and timezone, value was: " + value);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why this was removed rather than being implemented?

}
switch (column.jdbcType()) {
case Types.DATE: {
if ("CURRENT_DATE".equals(value)) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of removing this and other sspecial cases It should be kept but the default value should be set to epoch.
It will avoid unnecessary warnings and at the same time the behaviour will be consistent with other connectors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants