Document SUMMARY indexes in Indexing CTables notebook - #729
Merged
Merged
Conversation
prb2
commented
Sep 30, 2026
| "id": "d9fa565cab114c0d", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "## Automatic SUMMARY indexes\n", |
Contributor
Author
There was a problem hiding this comment.
I sourced this text from the PR description of #643 and from the existing info about summary indexes in the Optimization Tips guide
| " blosc2.open(str(summary_path), mode=\"r\") as summary_readings,\n", | ||
| " blosc2.open(str(no_summary_path), mode=\"r\") as no_summary_readings,\n", | ||
| "):\n", | ||
| " def predicate(t):\n", |
Contributor
Author
There was a problem hiding this comment.
In this notebook, I only focused on the benefit to where() queries, since the min()/max() benefits were already covered in the Optimization Tips guide. However, I'm happy to add a min/max example here too, if desired.
prb2
marked this pull request as ready for review
September 30, 2026 19:42
FrancescAlted
approved these changes
Oct 5, 2026
FrancescAlted
left a comment
Member
There was a problem hiding this comment.
This offers a clear and very simple explanation of what SUMMARY indexes offer. Thanks, it is exactly the kind of contributions that our current docs need. Looking forward for more like this!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new section to the "Indexing CTables" tutorial notebook to describe SUMMARY indexes and provides an example benchmark to demonstrate the benefit.
Addresses #645.
Testing
AI Tool Use
I used Codex to generate the boilerplate code in the
Generate the datasetsection. I had also used it to generate theRun the benchmarksection, but ended up rewriting that code myself.