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

Change subject: IMPALA-15878: Report empty vs malformed in ComputeWkbBBox()
......................................................................


Patch Set 2:

(3 comments)

https://gerrit.cloudera.org/#/c/25601/2/be/src/exprs/geo/wkb-serialization-test.cc
File be/src/exprs/geo/wkb-serialization-test.cc:

https://gerrit.cloudera.org/#/c/25601/2/be/src/exprs/geo/wkb-serialization-test.cc@256
PS2, Line 256:   auto poly = MakeWkb(WKB_POLYGON, Cat({U32(1), U32(500)}));
Nit: a comment explaining the issue with this polygon would be a nice-to-have.


https://gerrit.cloudera.org/#/c/25601/2/be/src/exprs/geo/wkb-serialization-test.cc@260
PS2, Line 260:   auto mpoly = MakeWkb(WKB_MULTIPOLYGON, U32(5));
Nit: a comment explaining the issue with this multi-polygon would be a 
nice-to-have.


https://gerrit.cloudera.org/#/c/25601/2/be/src/exprs/geo/wkb-serialization.cc
File be/src/exprs/geo/wkb-serialization.cc:

https://gerrit.cloudera.org/#/c/25601/2/be/src/exprs/geo/wkb-serialization.cc@399
PS2, Line 399:   if (status == nullptr) status = &ignored;
If status == nullptr, this code will result in status pointing to deallocated 
memory and could lead to a use-after-free.  Please modify so that status 
remains nullptr after this function runs.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I2c7e404c093dfa47b317a6bdcb81da252f5f8338
Gerrit-Change-Number: 25601
Gerrit-PatchSet: 2
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Comment-Date: Tue, 24 Nov 2026 22:27:53 +0000
Gerrit-HasComments: Yes

Reply via email to