Suppose you define the following row-partitioned table using the END Period bound function.
CREATE SET TABLE testing.t33 ( a INTEGER, b PERIOD(DATE), c INTEGER) PRIMARY INDEX (a) PARTITION BY CAST((END(b)) AS INTEGER);
This UPDATE upsert request inserts a new row into t33.
UPDATE t33 SET c = 1 WHERE a = 20 AND END(b) = DATE '1901-02-25' ELSE INSERT INTO t33 (20, PERIOD(DATE '1901-02-24', DATE '1901-02-25'), 1);