All Products
Search
Document Center

PolarDB:Greater than or equal to operator (>=)

Last Updated:Mar 28, 2026

Compares the universally unique identifiers (UUIDs) of two raster objects for internal database operations such as B-tree indexing and union. Returns true if the UUID of rast1 is greater than or equal to the UUID of rast2. This operator is not intended for spatial comparisons.

Syntax

bool Operator >=(raster rast1, raster rast2);

Parameters

ParameterDescription
rast1The first raster object.
rast2The second raster object.
Note This operator compares only the UUIDs of the two raster objects, not their spatial extents or pixel types.

Example

SELECT a.rast >= b.rast
FROM tbl_a a, tbl_b b
WHERE a.id = b.id;