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

Compressed Statistics #2686

Merged
merged 4 commits into from
Mar 13, 2025
Merged

Compressed Statistics #2686

merged 4 commits into from
Mar 13, 2025

Conversation

gatesn
Copy link
Contributor

@gatesn gatesn commented Mar 13, 2025

Compress the stats tables

@gatesn gatesn enabled auto-merge (squash) March 13, 2025 14:11
@@ -34,7 +35,7 @@ impl LayoutStrategy for VortexLayoutStrategy {
ctx.clone(),
&DType::Null,
ChunkedLayoutOptions {
chunk_strategy: Arc::new(FlatLayoutOptions::default()),
chunk_strategy: ArcRef::new_arc(Arc::new(FlatLayoutOptions::default()) as _),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
chunk_strategy: ArcRef::new_arc(Arc::new(FlatLayoutOptions::default()) as _),
chunk_strategy: ArcRef::new_arc(Arc::new(FlatLayoutOptions::default())),

@gatesn gatesn merged commit 416d488 into develop Mar 13, 2025
27 checks passed
@gatesn gatesn deleted the ngates/layouts3 branch March 13, 2025 14:58
@@ -44,9 +41,8 @@ impl LayoutVTable for ChunkedLayout {
row_offset: u64,
splits: &mut BTreeSet<u64>,
) -> VortexResult<()> {
let nchunks = layout.nchildren() - (if layout.metadata().is_some() { 1 } else { 0 });
Copy link
Member

Choose a reason for hiding this comment

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

why is this no longer necessary? It's a bit cheeky to register splits of stats table?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Chunked array no longer had a stats table, move to stats layout

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