exec-sql
CREATE DATABASE IF NOT EXISTS db;
CREATE TABLE IF NOT EXISTS db.tbl (a INT PRIMARY KEY);
ALTER TABLE db.tbl PARTITION BY LIST (a) (
  PARTITION p3 VALUES IN (3),
  PARTITION p4 VALUES IN (4)
);
ALTER TABLE db.tbl CONFIGURE ZONE DISCARD;
ALTER PARTITION p3 OF INDEX db.tbl@tbl_pkey CONFIGURE ZONE USING constraints = '[+n2]';
ALTER PARTITION p4 OF INDEX db.tbl@tbl_pkey CONFIGURE ZONE USING constraints = '[+n3]';
----

translate database=db table=tbl
----
/Table/106{-/1/3}                          range default
/Table/106/1/{3-4}                         constraints=[+n2]
/Table/106/1/{4-5}                         constraints=[+n3]
/Table/10{6/1/5-7}                         range default
