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 RANGE (a) (
  PARTITION p3 VALUES FROM (MINVALUE) TO (3),
  PARTITION p4 VALUES FROM (3) TO (4)
);
ALTER TABLE db.tbl CONFIGURE ZONE USING constraints = '[+n1]';
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}                            constraints=[+n1]
/Table/106/1{-/3}                          constraints=[+n2]
/Table/106/1/{3-4}                         constraints=[+n3]
/Table/10{6/1/4-7}                         constraints=[+n1]
