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

feat: Support map of arrays #10

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Conversation

julienbourdeau
Copy link

@julienbourdeau julienbourdeau commented Aug 20, 2024

We forked the original gem to add support for the Map data type in ClickHouse. The gem added this yesterday. See PNixx#144

It's important to update because only the latest version supports Rails 7.2.

Unfortunately, we use Map of Arrays, which is not supported yet.

Our implementation and the one in the gem are very close but there are some differences. I proposed to move back to the latest version and add support for Map of Arrays on top of their implementation.

upstream is a new branch in this repo matching the current uptream/master branch. Opening a branch on our master branch is ugly because there are so many commits and conflicts.

The Lago app seems to work with this branch getlago/lago-api#2437

Next step

Once we start using our new implementation in production, we should open a PR to add this feature in the gem 🚀 I'm working on adding tests.

@vincent-pochet vincent-pochet merged commit de89340 into upstream Oct 8, 2024
@julienbourdeau julienbourdeau deleted the map-add-array-support branch November 29, 2024 06:06
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