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

GAUSS-02351 -- GAUSS-02360

GAUSS-02351: "cannot set parent params from subquery"

SQLSTATE: XX000

Description: The generated plan is incorrect.

Solution: Contact technical support.

GAUSS-02352: "hashed subplan with direct correlation not supported"

SQLSTATE: XX000

Description: The generated plan is incorrect. The hashed subplan does not support related subqueries.

Solution: The issue is caused by the optimizer. Contact technical support.

GAUSS-02353: "more than one row returned by a subquery used as an expression"

SQLSTATE: 21000

Description: A redundant line of data is returned by the subquery.

Solution: Check the conditions of the subquery to ensure that only one line of data is returned.

GAUSS-02354: "unrecognized testexpr type: %d"

SQLSTATE: XX000

Description: The expression type cannot be recognized.

Solution: Internal system error. Contact technical support.

GAUSS-02355: "ANY/ALL subselect unsupported as initplan"

SQLSTATE: XX000

Description: The ANY/ALL subquery cannot be used as initplan.

Solution: Check the query statement. Do not use the ANY/ALL subqueries for non-associated subqueries.

GAUSS-02356: "CTE subplans should not be executed via ExecSetParamPlan"

SQLSTATE: XX000

Description: The CTE subquery cannot be used as the query of non-associated subqueries.

Solution: Check the query statement. Do not use the CTE subquery for non-associated subqueries.

GAUSS-02357: "direct correlated subquery unsupported as initplan"

SQLSTATE: XX000

Description: Associated subqueries cannot be used as initplan.

Solution: Internal system error. Contact technical support.

GAUSS-02358: "setParam list of initplan is empty"

SQLSTATE: XX000

Description: The parameter list of associated subqueries is empty.

Solution: Internal system error. Contact technical support.

GAUSS-02359: "extParam set of initplan is empty"

SQLSTATE: XX000

Description: The parameter list of initplan is empty.

Solution: Internal system error. Contact technical support.

GAUSS-02360: "Unrecognized parttype as '%c' for relation '%s'"

SQLSTATE: XX000

Description: An incorrect partition type is detected and the internal protection mechanism is triggered.

Solution: Contact technical support.