-
Notifications
You must be signed in to change notification settings - Fork 33
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
Conversation
Really need a compile time test to assert all of them are unique |
|
||
#[doc = "Encoding ID constants for all Vortex-provided encodings"] | ||
#[allow(dead_code)] | ||
pub mod ids { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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