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

MongoDB: Fix and verify Zyp transformations #240

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

amotl
Copy link
Member

@amotl amotl commented Aug 22, 2024

About

Zyp transformations for MongoDB had a little bug where it boosts a schema override when introspecting and translating a MongoDB collection schema into a CrateDB SQL DDL schema. Also, transformations needed validation on behalf of an integration test case.

This patch fixes the flaw, and uses a boring but not unusual basic case to translate int64 fields containing unixtime values to native timestamp ones, in order to validate schema overrides.

References

/cc @karynzv, @hammerhead, @matkuliak, @juanpardo, @proddata, @widmogrod, @surister, @simonprickett

@amotl amotl marked this pull request as ready for review August 22, 2024 23:36
@amotl amotl requested review from seut and removed request for surister and wierdvanderhaar August 26, 2024 10:36
@amotl
Copy link
Member Author

amotl commented Aug 26, 2024

Hi. GH-243 builds upon this little fixup patch, so I am humbly asking about also reviewing and acknowledging this one. Thank you in advance. 🙏

@amotl amotl merged commit 866f182 into main Aug 26, 2024
29 checks passed
@amotl amotl deleted the amo/zyp-int64-timestamp branch August 26, 2024 11:27
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.

2 participants