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

DBZ-8043 Support FLOAT32 type #92

Merged
merged 1 commit into from
Jul 11, 2024
Merged

DBZ-8043 Support FLOAT32 type #92

merged 1 commit into from
Jul 11, 2024

Conversation

arawind
Copy link
Contributor

@arawind arawind commented Jul 10, 2024

Spanner now supports the FLOAT32 type. This change creates a mapping between "FLOAT32" / "REAL" to Kafka's FLOAT32_SCHEMA

Copy link

Welcome as a new contributor to Debezium, @arawind. Reviewers, please add missing author name(s) and alias name(s) to the COPYRIGHT.txt and Aliases.txt respectively.

@Naros
Copy link
Member

Naros commented Jul 10, 2024

Hi @arawind, thanks for your first contribution 🎉. Would you mind also opening a PR in the main https://github.com/debezium/debezium repository with the same issue tag, adding the FLOAT32 data type to the Spanner documentation in the /documentation tree? Thanks!

@arawind
Copy link
Contributor Author

arawind commented Jul 10, 2024

Thanks for the quick response @Naros! I've raised debezium/debezium#5668 to update the documentation.

@jpechane jpechane merged commit d6dc35b into debezium:main Jul 11, 2024
3 of 4 checks passed
@jpechane
Copy link
Collaborator

@arawind Applied, thanks!

@nancyxu123
Copy link
Contributor

Hi @jpechane the pull request wasn't quite ready yet :)

@arawind can you submit a follow-up PR to add integration tests for FLOAT32? Thanks!

@jpechane
Copy link
Collaborator

@nancyxu123 I guess next time we need better use draft functionality. But TBH you're the one who convinced me this is done by asking me for the review :-).

@arawind
Copy link
Contributor Author

arawind commented Jul 11, 2024

Sorry for the confusion! I'm working on the integration test. I'll create a follow up PR with the test

arawind added a commit to arawind/debezium-connector-spanner that referenced this pull request Jul 11, 2024
This mapping is needed to read the FLOAT32 value from spanner's response.
This was missed in debezium#92.
arawind added a commit to arawind/debezium-connector-spanner that referenced this pull request Jul 11, 2024
This is a continuation of
debezium#92.

This IT does not support verifying the float32 values as it is dependent
on a change in Cloud Spanner Emulator, and it should be available in the
next few emulator releases. This is a test-only issue; running this
against production should pass the assertion.
arawind added a commit to arawind/debezium-connector-spanner that referenced this pull request Jul 11, 2024
This is a continuation of
debezium#92.

This IT does not support verifying the float32 values as it is dependent
on a change in Cloud Spanner Emulator, and it should be available in the
next few emulator releases. This is a test-only issue; running this
against production should pass the assertion.
arawind added a commit to arawind/debezium-connector-spanner that referenced this pull request Jul 11, 2024
This is a continuation of
debezium#92.

This IT does not support verifying the float32 values as it is dependent
on a change in Cloud Spanner Emulator, and it should be available in the
next few emulator releases. This is a test-only issue; running this
against production should pass the assertion.
arawind added a commit to arawind/debezium-connector-spanner that referenced this pull request Jul 18, 2024
This is a continuation of
debezium#92.

This IT does not support verifying the float32 values as it is dependent
on a change in Cloud Spanner Emulator, and it should be available in the
next few emulator releases. This is a test-only issue; running this
against production should pass the assertion.
arawind added a commit to arawind/debezium-connector-spanner that referenced this pull request Jul 19, 2024
This is a continuation of
debezium#92.

This IT does not support verifying the float32 values as it is dependent
on a change in Cloud Spanner Emulator, and it should be available in the
next few emulator releases. This is a test-only issue; running this
against production should pass the assertion.
jpechane pushed a commit that referenced this pull request Aug 2, 2024
This mapping is needed to read the FLOAT32 value from spanner's response.
This was missed in #92.
jpechane pushed a commit that referenced this pull request Aug 2, 2024
This is a continuation of
#92.

This IT does not support verifying the float32 values as it is dependent
on a change in Cloud Spanner Emulator, and it should be available in the
next few emulator releases. This is a test-only issue; running this
against production should pass the assertion.
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.

4 participants