docs(cayenne): default-on adaptive cold clustering fallback (F4, vNext)#1963
Merged
Conversation
spiceai/spiceai#11973 makes Cayenne cold-tier promotion cluster by the hottest columns observed in query pushdown filters when neither cayenne_datalake_clustering_columns nor cayenne_sort_columns is set (previously it fell straight through to the primary key). Update the clustering-key fallback precedence in the cold-tier parameter table and the datalake clustering prose to: clustering_columns -> sort_columns -> observed hot filter columns -> primary key. vNext-only (F4 is post-v2.1.1); no versioned-docs propagation.
Contributor
✅ Pull with Spice PassedPassing checks:
|
Contributor
|
🚀 deployed to https://288e6b63.spiceai-org-website.pages.dev |
lukekim
approved these changes
Jul 23, 2026
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
spiceai/spiceai#11973 adds default-on adaptive cold layout (F4): when neither
cayenne_datalake_clustering_columnsnorcayenne_sort_columnsis set, Cayenne cold-tier promotion now clusters cold files by the hottest columns observed in query pushdown filters, falling back to the primary key only when no usable observed column exists. The Cayenne page documented the clustering-key fallback ascayenne_sort_columns→ primary key, missing the new observed-filter step.Updated both places that state the fallback precedence:
cayenne_datalake_clustering_columnsrow in the cold object-store tier parameter table.New precedence:
cayenne_datalake_clustering_columns→cayenne_sort_columns→ hottest observed query-filter columns (default-on adaptive layout) → primary key.Verified against source (
origin/trunk)crates/cayenne/src/provider/table.rs::resolve_cold_clustering_indices— precedence is exactlycold_clustering_columns→sort_columns→ auto-observedtop_columns(type-guarded to Z-order-clusterable types viais_zorder_clusterable;Decimal/Map/… dropped) →primary_key.Source PRs
Test plan
cd website && npm run buildpasses (exit 0)