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

Fix range covered by osm chunk slices #6060

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Sep 11, 2023

The initial range for the OSM chunk will be from INT64_MAX - 1 to INT64_MAX. This range was chosen to minimize interference with tuple routing and occupy a range outside of potential values as there must be no overlap between the hypercube occupied by the osm chunk and actual chunks. Previously the range covered by the osm chunk would bucket the start of the range leading to a dependency on chunk_time_interval and limiting the range of usable values in the hypertable when an osm chunk is present.

Disable-check: force-changelog-file

@github-actions
Copy link

@sb230132, @fabriziomello: please review this pull request.

Powered by pull-review

@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

Merging #6060 (26f879a) into main (ef783c4) will decrease coverage by 0.15%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #6060      +/-   ##
==========================================
- Coverage   81.44%   81.29%   -0.15%     
==========================================
  Files         243      243              
  Lines       55948    55940       -8     
  Branches    12389    12385       -4     
==========================================
- Hits        45566    45476      -90     
- Misses       8045     8074      +29     
- Partials     2337     2390      +53     
Files Changed Coverage Δ
src/chunk.c 89.82% <100.00%> (-0.03%) ⬇️

... and 25 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@svenklemm svenklemm force-pushed the fix_osm_chunk_slice branch 3 times, most recently from 4c02ff9 to b873b15 Compare September 12, 2023 11:41
The initial range for the OSM chunk will be from INT64_MAX - 1 to INT64_MAX.
This range was chosen to minimize interference with tuple routing and
occupy a range outside of potential values as there must be no overlap
between the hypercube occupied by the osm chunk and actual chunks.
Previously the range covered by the osm chunk would bucket the start
of the range leading to a dependency on chunk_time_interval and
limiting the range of usable values in the hypertable when an osm chunk
is present.
@svenklemm svenklemm requested a review from akuzm September 12, 2023 11:57
@svenklemm svenklemm merged commit 90cedf3 into timescale:main Sep 13, 2023
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