Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Postgres (CDC): debezium does not handle era indicators (AD | BC) for 'DATE' type #14590

Closed
yurii-bidiuk opened this issue Jul 11, 2022 · 2 comments · Fixed by #14534
Closed

Comments

@yurii-bidiuk
Copy link
Contributor

Current Behavior

Source-postgres in cdc mode omits era indicator. For example, the values 1991-02-10 BC and 1991-02-10 have the same output

Expected Behavior

Dates with the current era (AD) and before the current era (BC) should have different outputs and era indicators should not be omitted

Logs

Steps to Reproduce

  1. Insert 2 date rows to Postgres table with the same value but different eras (e.g 1991-02-10 BC, 1991-02-10)
  2. Run sync or datatype test
  3. The output values are the same
@grishick
Copy link
Contributor

This will be fixed in #14628

@edgao
Copy link
Contributor

edgao commented Aug 3, 2022

implemented in #15187 - will be published as part of #14534

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants