Add support for PostgreSQL/Redshift geometric operators (#1723)

This commit is contained in:
benrsatori 2025-02-20 20:50:32 +02:00 committed by GitHub
parent 97f0be6991
commit 339239d0c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 809 additions and 26 deletions

View file

@ -2066,12 +2066,8 @@ fn parse_pg_custom_binary_ops() {
let operators = [
// PostGIS
"&&&", // n-D bounding boxes intersect
"&<", // (is strictly to the left of)
"&>", // (is strictly to the right of)
"|=|", // distance between A and B trajectories at their closest point of approach
"<<#>>", // n-D distance between A and B bounding boxes
"|>>", // A's bounding box is strictly above B's.
"~=", // bounding box is the same
// PGroonga
"&@", // Full text search by a keyword
"&@~", // Full text search by easy to use query language