Skip to content

Conversation

@Praveen2112
Copy link
Member

Description

This would fix issue related to inaccuracies when converting from Geometry to BingTile.

Benchmark also shows an improvement in average time per operation

Before:

Benchmark Mode Cnt Score Error Units
BenchmarkGeometryToBingTiles.envelopeToBingTiles avgt 10 0.007 ± 0.001 ms/op
BenchmarkGeometryToBingTiles.geometryToBingTiles avgt 10 172.830 ± 5.088 ms/op

After:

Benchmark Mode Cnt Score Error Units
BenchmarkGeometryToBingTiles.envelopeToBingTiles avgt 10 0.007 ± 0.001 ms/op
BenchmarkGeometryToBingTiles.geometryToBingTiles avgt 10 104.172 ± 0.749 ms/op

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

## GeoFunctions
*Fixed an issue where geometry_to_bing_tiles did not cover the full geometry area, ensuring complete tile coverage.  ({issue}`issuenumber`)

This would fix issue related to inaccuracies when converting from Geometry to BingTile.

Benchmark also shows an improvement in average time per operation

Before:

Benchmark                                         Mode  Cnt    Score    Error  Units
BenchmarkGeometryToBingTiles.envelopeToBingTiles  avgt   10    0.007 ±  0.001  ms/op
BenchmarkGeometryToBingTiles.geometryToBingTiles  avgt   10  172.830 ±  5.088  ms/op

After:

Benchmark                                         Mode  Cnt    Score    Error  Units
BenchmarkGeometryToBingTiles.envelopeToBingTiles  avgt   10    0.007 ±  0.001  ms/op
BenchmarkGeometryToBingTiles.geometryToBingTiles  avgt   10  104.172 ±  0.749  ms/op
@Praveen2112 Praveen2112 requested a review from wendigo August 21, 2025 12:22
@cla-bot cla-bot bot added the cla-signed label Aug 21, 2025
@wendigo wendigo merged commit ebedd6a into trinodb:master Aug 27, 2025
278 of 281 checks passed
@github-actions github-actions bot added this to the 477 milestone Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants