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

Bugfix/1518/get description date range incorrect after delete data in range #1523

Conversation

alexowens90
Copy link
Collaborator

Closes #1518

@alexowens90 alexowens90 self-assigned this Apr 24, 2024
@alexowens90 alexowens90 added the bug Something isn't working label Apr 24, 2024
details::visit_type(start_index_column.type().data_type(), [&start_index_column, &start_index](auto column_desc_tag) {
using type_info = ScalarTypeInfo<decltype(column_desc_tag)>;
if constexpr (is_time_type(type_info::data_type)) {
start_index = start_index_column.template scalar_at<timestamp>(0);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was there a reason not to use start_value_for_segment and end_value_for_segment from index.hpp?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is an index key, not a data key

@alexowens90 alexowens90 merged commit c466e95 into master Apr 25, 2024
114 checks passed
@alexowens90 alexowens90 deleted the bugfix/1518/get-description-date-range-incorrect-after-delete-data-in-range branch April 25, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

index date_range is sometimes incorrect after delete_data_in_range()
2 participants