Skip to content

Remove unused SqliteTimestampToTextRangeIndex.get_timestamp_ranges (#374) - #377

Open
Kevin Turcios (KRRT7) wants to merge 1 commit into
microsoft:mainfrom
KRRT7:remove-get-timestamp-ranges
Open

Kevin Turcios (KRRT7) wants to merge 1 commit into
microsoft:mainfrom
KRRT7:remove-get-timestamp-ranges

Conversation

@KRRT7

Copy link
Copy Markdown
Contributor

Fixes #374.

Behavior

Removes SqliteTimestampToTextRangeIndex.get_timestamp_ranges. Nothing outside the tests called it, and it no longer followed the index's conventions:

lookup_range is the supported way to query the index. No behavior changes for any caller in the repository.

Validation

  • Removed the two get_timestamp_ranges blocks from test_timestamp_operations in tests/test_sqlite_indexes.py; the test still covers add_timestamp and size.
  • git grep get_timestamp_ranges finds no remaining references.
  • make format check test passes: 933 passed, 12 skipped. make ruff passes.

…icrosoft#374)

Only tests called it, and it no longer matched the index conventions:
an inclusive range end instead of half-open [start, end), and
millisecond-truncated comparisons without the exact recheck that
lookup_range does.
@KRRT7
Kevin Turcios (KRRT7) marked this pull request as ready for review October 25, 2026 09:16

This branch has not been deployed

No deployments
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.

Remove unused SqliteTimestampToTextRangeIndex.get_timestamp_ranges

1 participant