Repository navigation
Test the raster aggregates the surface carries against MobilityDB - #87
Merged
estebanzimanyi merged 1 commit intoOct 25, 2026
Merged
Conversation
AggregatesCatalogTest registers rasterUnion, sameAlignmentAgg and summaryStatsAgg among the names of the catalog and tests their seven overloads over two rasters against MobilityDB's answers: the four forms of rasterUnion as the hex WKB of the united raster and sameAlignmentAgg as its boolean, among the overloads answering a text, and the two forms of summaryStatsAgg by the six fields of the summarystats record the aggregate answers, read in Java in the order of the record, since no SQL function of the surface reads a field of it. Witness: JMEOS's generator carries the aggregates answering a boolean or a structure and reading an integer or boolean argument, and MobilityDB reads the shorter raster aggregate forms as their siblings do, so the three names leave the list of names the surface leaves out. Measured: the two rows are tile 1 of the union tiles of MobilityDB's 500_raster and the same tile one tile east, sharing no pixel, so every pixel operation is independent of the order of the rows; the answers are those MobilityDB gives over them, harvested through its ctest harness: rasterUnion as ST_AsHexWKB writes it, and summaryStatsAgg (16, 80, 5, 2.7386127875258306, 1, 9) over band 1 and (18, 900, 50, 25.81988897471611, 10, 90) over band 2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AggregatesCatalogTest registers rasterUnion, sameAlignmentAgg and summaryStatsAgg among the
names of the catalog and tests their seven overloads over two rasters against MobilityDB's
answers: the four forms of rasterUnion as the hex WKB of the united raster and sameAlignmentAgg
as its boolean, among the overloads answering a text, and the two forms of summaryStatsAgg by
the six fields of the summarystats record the aggregate answers, read in Java in the order of
the record, since no SQL function of the surface reads a field of it.
Witness: JMEOS's generator carries the aggregates answering a boolean or a structure and
reading an integer or boolean argument, and MobilityDB reads the shorter raster aggregate forms
as their siblings do, so the three names leave the list of names the surface leaves out.
Measured: the two rows are tile 1 of the union tiles of MobilityDB's 500_raster and the same
tile one tile east, sharing no pixel, so every pixel operation is independent of the order of
the rows; the answers are those MobilityDB gives over them, harvested through its ctest harness:
rasterUnion as ST_AsHexWKB writes it, and summaryStatsAgg (16, 80, 5, 2.7386127875258306, 1, 9)
over band 1 and (18, 900, 50, 25.81988897471611, 10, 90) over band 2.