Skip to content

Conversation

@bmschmidt
Copy link
Owner

@bmschmidt bmschmidt commented Mar 27, 2025

Due to a typo in the tests, we weren't actually testing that categorical casting could work for string fields including the case where we started writing to overflow buffers.

It was broken.

This adds the test and provides a fix that chooses an appropriate integer type for the dictionaries based on the cardinality of the categorical field.

Copy link
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@bmschmidt bmschmidt marked this pull request as ready for review March 27, 2025 18:16
Copy link
Collaborator

@wilsonjr wilsonjr left a comment

Choose a reason for hiding this comment

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

LGTM

@bmschmidt bmschmidt force-pushed the 03-27-fix_quadtree_schema_bug branch from a43d753 to 74a447d Compare March 27, 2025 18:25
@bmschmidt bmschmidt force-pushed the 03-27-fix_quadtree_schema_bug branch from 74a447d to 28365d6 Compare March 27, 2025 18:27
@bmschmidt bmschmidt merged commit 19d2966 into main Mar 27, 2025
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.

3 participants