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

Add btree index filters to the C# sdk with codegen #1848

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lcodes
Copy link
Contributor

@lcodes lcodes commented Oct 14, 2024

Description of Changes

Adds support for multi-column btree index filtering in the C# client

  • codegen emitting Filter() overloads in the index handles
  • codegen emitting BTree storage and comparison operators
  • runtime changes to make Address and Identity comparable

API and ABI breaking changes

No breaks.

Expected complexity level and risk

Most complexity is in the codegen, the runtime behavior is straightforward; a SortedSet<> per btree with a comparator matching its key columns, and Filter() methods querying that sorted set with min/max values derived from the table row type.

Testing

@bfops
Copy link
Collaborator

bfops commented Oct 15, 2024

What's the testing for this change? It looks like the test suite is failing - do existing tests need updating, and/or does it have new tests for the new behavior?

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