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

GAUSS-02251 -- GAUSS-02260

GAUSS-02251: "SPI_cursor_open called while not connected"

SQLSTATE: XX000

Description: Failed to connect to SPI.

Solution: Contact technical support. Alternatively, check the network.

GAUSS-02252: "%s is not allowed in a non-volatile function"

SQLSTATE: 0A000

Description: The statement cannot be used for a non-volatile function.

Solution: Check whether the function definition is correct. If no, modify the function definition.

GAUSS-02253: "invalid portal in SPI cursor operation"

SQLSTATE: XX000

Description: Failed to obtain variables during execution.

Solution: Internal system error. Contact technical support.

GAUSS-02254: "improper call to spi_dest_startup"

SQLSTATE: XX000

Description: Failed to connect to SPI.

Solution: Contact technical support. Alternatively, check the network.

GAUSS-02255: "improper call to spi_printtup"

SQLSTATE: XX000

Description: Failed to print data for SPI invocation.

Solution: The internal status setting is incorrect. Contact technical support.

GAUSS-02256: "consistency check on SPI tuple count failed"

SQLSTATE: XX000

Description: The data consistency check failed during SPI execution.

Solution: Internal system error. Contact technical support.

GAUSS-02257: "SPI cursor operation called while not connected"

SQLSTATE: XX000

Description: SPI is not connected.

Solution: The internal logic is incorrect. Contact technical support.

GAUSS-02258: "Failed to read response from Datanodes. Detail: %s\n"

SQLSTATE: XX000

Description: The connection at the transmit end is disconnected. For details, see the information after Detail.

Solution: Check whether the peer DN is faulty or whether the network is normal.

GAUSS-02260: "Unhandled datatype for modulo or hash distribution\n"

SQLSTATE: XX000

Description: The data distribution type is invalid.

Solution: Check whether the distribution column definition in the table is correct.