Aleksandr Efimov has posted comments on this change. ( http://gerrit.cloudera.org:8080/24707 )
Change subject: IMPALA-15270: Implement Geospatial ST_Buffer Function Using Boost ...................................................................... Patch Set 12: (1 comment) http://gerrit.cloudera.org:8080/#/c/24707/12/be/src/exprs/geo/geometry-wrapper-wkb.cc File be/src/exprs/geo/geometry-wrapper-wkb.cc: http://gerrit.cloudera.org:8080/#/c/24707/12/be/src/exprs/geo/geometry-wrapper-wkb.cc@753 PS12, Line 753: strategy_point_ = buff::geographic_point_circle<>(points_per_circle_); `point2d` is Cartesian, so `geographic_point_circle` treats its coordinates as radians. In a Boost 1.92 probe using these types, distance 1 at (0,0) gives an x-radius of `1.568e-7`, versus `8.983e-6` with `geographic<degree>`. The LINESTRING and POLYGON probes also produce identical results with `use_spheroid` true and false. Could we handle the geographic coordinates and buffer strategies consistently, and add tests for points, lines and polygons? -- To view, visit http://gerrit.cloudera.org:8080/24707 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6faeb533eb464d32629fa402179dc19c25bd78f2 Gerrit-Change-Number: 24707 Gerrit-PatchSet: 12 Gerrit-Owner: Jason Fehr <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Comment-Date: Mon, 19 Oct 2026 19:37:23 +0000 Gerrit-HasComments: Yes
