Updated on 2024-03-15 GMT+08:00

GAUSS-02341 -- GAUSS-02350

GAUSS-02345: "SubPlan found with no parent plan"

SQLSTATE: 42P27

Description: The AlternativeSubPlan expression does not have a parent node whose PlanState is empty.

Solution: Check whether the SQL statement or execution plan has a parent node left blank.

GAUSS-02346: "AlternativeSubPlan found with no parent plan"

SQLSTATE: 42P27

Description: The SubPlan expression does not have a parent node whose PlanState is empty.

Solution: Check whether the SQL statement or execution plan has a parent node left blank.

GAUSS-02347: "target type is not an array"

SQLSTATE: 22023

Description: The type of an array-type expression is not array after conversion.

Solution: Ensure that a converted expression type be the same as that before the conversion.

GAUSS-02348: "ROW() column has type %s instead of type %s"

SQLSTATE: 42804

Description: The row expression type does not match.

Solution: Check whether the ALTER COLUMN TYPE operation is performed.

GAUSS-02349: "could not identify a comparison function for type %s"

SQLSTATE: 42883

Description: The type comparison function is not defined in the min/max expression.

Solution: Ensure that the min/max expression is correctly used.

GAUSS-02350: "CTE subplans should not be executed via ExecSubPlan"

SQLSTATE: XX000

Description: The generated plan is incorrect.

Solution: Contact technical support.