Updated on 2023-12-22 GMT+08:00

GAUSS-02631 -- GAUSS-02640

GAUSS-02631: "NULL can not be compared with NULL"

SQLSTATE: 42804

Description: When two partition keys are compared, both of the two cannot be null.

Solution: Check whether any of the partition column values or boundary values of the inserted data are null.

GAUSS-02632: "null maxvalue for tuple %u"

SQLSTATE: XX000

Description: The maximum value of the range partition is empty.

Solution: Correct the definition of the partitioned table.

GAUSS-02633: "partition key column's number is not a 1-D smallint array"

SQLSTATE: XX000

Description: The column ID corresponding to the partition key is not a one-dimensional integer array.

Solution: Check whether the partition table definition and query statements.

GAUSS-02634: "Fail to build partitionmap for realtion'%s'"

SQLSTATE: XX000

Description: Partition mapping cannot be created for non-partitioned tables.

Solution: Do not create partition mapping for non-partitioned tables.

GAUSS-02635: "Fail to build partitionmap for partitioned table '%s'"

SQLSTATE: XX000

Description: Failed to create the partition mapping because the partitioned table does not exist.

Solution: Do not create partition mapping for non-partitioned tables.

GAUSS-02636: "Fail to build partitionmap for partitioned table '%u'"

SQLSTATE: XX000

Description: Failed to create the partition mapping because the partition mode of the partitioned table is inconsistent with the specified partition mode.

Solution: Do not create partition mapping for non-partitioned tables.

GAUSS-02637: "rebuild partition map ERROR"

SQLSTATE: XX000

Description: Failed to create the partition. The partition mode of the new table is different from that of the old table.

Solution: Ensure that the partition mode of the recreated partition table is the same as that of the old partition table.

GAUSS-02638: "invalid partition sequence: %d of relation '%s'"

SQLSTATE: XX000

Description: The range of the original partition cannot be obtained when the partition is split.

Solution: Correct the definition of the partitioned table.

GAUSS-02639: "routing algorithm interval partition is error"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02640: "CAN NOT get number of partition against NON-PARTITIONED relation"

SQLSTATE: XX000

Description: Obtaining the number of partitions in a non-partitioned table is not allowed.

Solution: Roll back the transaction.