-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Optimize geometry serializer usage when literal is available #8167
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8167 +/- ##
============================================
- Coverage 71.01% 64.36% -6.65%
Complexity 4314 4314
============================================
Files 1624 1580 -44
Lines 84873 82964 -1909
Branches 12791 12584 -207
============================================
- Hits 60273 53402 -6871
- Misses 20453 25744 +5291
+ Partials 4147 3818 -329
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
a50d4a9 to
b38053d
Compare
...java/org/apache/pinot/core/geospatial/transform/function/BaseBinaryGeoTransformFunction.java
Outdated
Show resolved
Hide resolved
...java/org/apache/pinot/core/geospatial/transform/function/BaseBinaryGeoTransformFunction.java
Outdated
Show resolved
Hide resolved
...java/org/apache/pinot/core/geospatial/transform/function/BaseBinaryGeoTransformFunction.java
Outdated
Show resolved
Hide resolved
...java/org/apache/pinot/core/geospatial/transform/function/BaseBinaryGeoTransformFunction.java
Outdated
Show resolved
Hide resolved
...java/org/apache/pinot/core/geospatial/transform/function/BaseBinaryGeoTransformFunction.java
Outdated
Show resolved
Hide resolved
7c7acf9 to
3dd8913
Compare
3dd8913 to
c11d097
Compare
…8167) Cache the Literal converted Geometry instead of computing it each time the Geometry function is called. This - save memory for processing literal transform function (previously it was done via Array.fill) - save compute from Geometry function In general this should apply to any chained call to LiteralTransformFunction with block --> it should be considered as a fake array instead fo a real, replicated one. This is out of scope of this PR but something to keep in mind.
Cache the Literal converted Geometry instead of computing it each time the Geometry function is called.
This
In general this should apply to any chained call to LiteralTransformFunction with block --> it should be considered as a fake array instead fo a real, replicated one. This is out of scope of this PR but something to keep in mind.