-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compose: TestComposeCompare failed #111157
Comments
compose.TestComposeCompare failed with artifacts on release-23.1.11-rc @ 62ad175cbc0e9041d993ea1cc911e07d279671f5:
Same failure on other branches
|
@cockroachdb/sql-queries This looks like it's linked to geospatial functions like st_geomfromgeohash and st_makeenvelope not producing the same output as Postgres. Can someone take a look? |
Looking at a more recent failure with artifacts, here's a repro:
cockroach:
postgres:
This looks similar to the second failure in this thread with a similar builtin, which reduces to:
cockroach:
postgres:
|
You can also repro the error in the first comment:
Which reduces to:
cockroach:
postgres:
|
Allows and adds support for NULL inputs for the st_pointfromgeohash and st_geomfromgeohash built-ins. Epic: None Informs: cockroachdb#111157 Release note (bug fix): Fixes null input handling for the geospatial built-ins st_pointfromgeohash and st_geomfromgeohash.
Postgis allows xmin/ymin to be greater than xmax/ymax respectively in st_makeenvelope, but the geom library does not allow this when converting Bounds to Polygon. Instead, we build the polygon explicitly from the provided min/max coordinates. Epic: None Fixes: cockroachdb#111157 Release note (bug fix): The geospatial st_makeenvelope built-in now correctly supports xmin or ymin to be greater than xmax or ymax, respectively.
Allows and adds support for NULL inputs for the st_pointfromgeohash and st_geomfromgeohash built-ins. Epic: None Informs: cockroachdb#111157 Release note (bug fix): Fixes null input handling for the geospatial built-ins st_pointfromgeohash and st_geomfromgeohash.
113781: geo: various geospatial built-in fixes r=rharding6373 a=rharding6373 geo: support null input for geohash builtins Allows and adds support for NULL inputs for the st_pointfromgeohash and st_geomfromgeohash built-ins. Epic: None Informs: #111157 Release note (bug fix): Fixes null input handling for the geospatial built-ins st_pointfromgeohash and st_geomfromgeohash. geo: allow st_makeenvelope min/max bounds to be reversed Postgis allows xmin/ymin to be greater than xmax/ymax respectively in st_makeenvelope, but the geom library does not allow this when converting Bounds to Polygon. Instead, we build the polygon explicitly from the provided min/max coordinates. Epic: None Fixes: #111157 Release note (bug fix): The geospatial st_makeenvelope built-in now correctly supports xmin or ymin to be greater than xmax or ymax, respectively. Co-authored-by: rharding6373 <rharding6373@users.noreply.github.com>
compose.TestComposeCompare failed with artifacts on release-23.1.11-rc @ 62ad175cbc0e9041d993ea1cc911e07d279671f5:
Help
See also: How To Investigate a Go Test Failure (internal)
Same failure on other branches
This test on roachdash | Improve this report!
Jira issue: CRDB-31792
The text was updated successfully, but these errors were encountered: