paleolimbot commented on code in PR #2320: URL: https://github.com/apache/orc/pull/2320#discussion_r2193949512
########## java/core/src/java/org/apache/orc/geospatial/BoundingBox.java: ########## @@ -201,7 +201,7 @@ public boolean isXYEmpty() { * @return true if the X dimension is empty, false otherwise. */ public boolean isXEmpty() { - return Double.isInfinite(xMin) && Double.isInfinite(xMax); + return xMin > xMax; Review Comment: Whoops, there was a typo there. It's the union of `[-Inf, xMax]` and `[xMin, Inf]` 🤦 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@orc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org