Jason Fehr has posted comments on this change. ( 
https://gerrit.cloudera.org/24553 )

Change subject: IMPALA-15163: Add geometry bounding box predicate pushdown for 
Parquet
......................................................................


Patch Set 20: Code-Review+1

(5 comments)

A couple of more tests to add and a comment fix.  Please carry forward my +1 if 
those changes are made.

https://gerrit.cloudera.org/#/c/24553/15//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/24553/15//COMMIT_MSG@38
PS15, Line 38: values like POINT (1 NaN).
> Added implementation here.
Nice!  Is there a follow-up Jira to implement row group filtering using the 
geospatial_types stats?  Definitely should not be part of this change.


https://gerrit.cloudera.org/#/c/24553/20/be/src/exec/parquet/parquet-geo-stats-test.cc
File be/src/exec/parquet/parquet-geo-stats-test.cc:

https://gerrit.cloudera.org/#/c/24553/20/be/src/exec/parquet/parquet-geo-stats-test.cc@102
PS20, Line 102: TEST_F(ParquetGeoStatsTest, TypesSortedAndUnique) {
This test should also include a multipoint, multilinestring, and multipolygon 
to ensure those geometries are correctly parsed.


https://gerrit.cloudera.org/#/c/24553/20/fe/src/main/java/org/apache/impala/analysis/Analyzer.java
File fe/src/main/java/org/apache/impala/analysis/Analyzer.java:

https://gerrit.cloudera.org/#/c/24553/20/fe/src/main/java/org/apache/impala/analysis/Analyzer.java@795
PS20, Line 795: there
Nit: remove extra word.


https://gerrit.cloudera.org/#/c/24553/20/testdata/workloads/functional-query/queries/QueryTest/geospatial-esri-planner.test
File 
testdata/workloads/functional-query/queries/QueryTest/geospatial-esri-planner.test:

https://gerrit.cloudera.org/#/c/24553/20/testdata/workloads/functional-query/queries/QueryTest/geospatial-esri-planner.test@23
PS20, Line 23: # Check that NormalizeGeospatialRelationsRule changes 
st_within() to st_contains() to
Need the opposite test to assert st_contains changes to st_within.  Would also 
be nice to have tests that assert st_within and st_contains do not get changed 
if neither argument is constant.


https://gerrit.cloudera.org/#/c/24553/20/testdata/workloads/functional-query/queries/QueryTest/geospatial-wkb-planner.test
File 
testdata/workloads/functional-query/queries/QueryTest/geospatial-wkb-planner.test:

https://gerrit.cloudera.org/#/c/24553/20/testdata/workloads/functional-query/queries/QueryTest/geospatial-wkb-planner.test@70
PS20, Line 70: # The constant is the second argument of st_within(), so 
NormalizeGeospatialRelationsRule
Need the opposite test to assert st_contains changes to st_within.  Would also 
be nice to have tests that assert st_within and st_contains do not get changed 
if neither argument is constant.



--
To view, visit https://gerrit.cloudera.org/24553
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7265a00caba698a122bc15ecb433c507f36d166f
Gerrit-Change-Number: 24553
Gerrit-PatchSet: 20
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Balazs Hevele <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Comment-Date: Wed, 25 Nov 2026 20:38:39 +0000
Gerrit-HasComments: Yes

Reply via email to