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

Order index in terms of row slices #1911

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

willdealtry
Copy link
Collaborator

Ordering the index in terms of columns doesn't really make any sense, it would be better to order it by row slices.

@willdealtry willdealtry force-pushed the experiment_with_index_ordering branch from 0a9d8b8 to 3d86b88 Compare January 20, 2025 17:41
@willdealtry willdealtry force-pushed the experiment_with_index_ordering branch from 3ae7b36 to 0a9d8b8 Compare March 3, 2025 14:10
@willdealtry willdealtry force-pushed the experiment_with_index_ordering branch from 0a9d8b8 to 6f4f0b0 Compare March 4, 2025 10:17
Copy link

github-actions bot commented Mar 4, 2025

Label error. Requires exactly 1 of: patch, minor, major. Found: replicated

@willdealtry willdealtry changed the title WIP Order index in terms of row slices Order index in terms of row slices Mar 6, 2025
#ifdef _WIN32
return r.first ^ _byteswap_uint64(r.second);
#else
return r.first ^ __builtin_bswap64(r.second);
#endif
}
};
};*/
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this presumably just be removed?

@@ -83,25 +83,25 @@ class IndexWriter {
// one will need to ensure that this holds, otherwise the assumptions in the read pipeline will be
// broken.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Out of date comment

bool new_col_group = !current_col_.has_value() || *current_col_ < slice.col_range.first;
util::check_arg(!current_row_.has_value() || new_col_group
bool new_row_group = !current_row_.has_value() || *current_row_ < slice.row_range.first;
util::check_arg(!current_row_.has_value() || new_row_group
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
util::check_arg(!current_row_.has_value() || new_row_group
util::check_arg(!current_col_.has_value() || new_row_group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants