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

fix: ID collision between vortex.ext and fastlanes.delta #878

Merged
merged 6 commits into from
Sep 19, 2024

Conversation

a10y
Copy link
Contributor

@a10y a10y commented Sep 19, 2024

Both were using ID code 16. I left fastlanes.delta as 16 to be contiguous with the other fastlanes codes, and pushed extension to the end

@robert3005
Copy link
Member

Really need a compile time test to assert all of them are unique

@lwwmanning lwwmanning enabled auto-merge (squash) September 19, 2024 20:20
@lwwmanning lwwmanning disabled auto-merge September 19, 2024 20:27
@lwwmanning lwwmanning enabled auto-merge (squash) September 19, 2024 20:43
@lwwmanning lwwmanning merged commit a96ff2c into develop Sep 19, 2024
5 checks passed
@lwwmanning lwwmanning deleted the aduffy/id-collision branch September 19, 2024 20:54

#[doc = "Encoding ID constants for all Vortex-provided encodings"]
#[allow(dead_code)]
pub mod ids {
Copy link
Member

Choose a reason for hiding this comment

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

really wanted to avoid this being in the main package but not sure if there's a way that this would be useful otherwise

Copy link
Member

Choose a reason for hiding this comment

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

we can put it upstream of vortex-array, but it's not particularly useful if we can't reference it in the ~half of encodings that are in that crate

Copy link
Contributor

Choose a reason for hiding this comment

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

IMO just put it in the README. Document the reserved range for Vortex, and the range for "custom" extensions.

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