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

GAUSS-04661 -- GAUSS-04670

GAUSS-04661: "illegal chars conversion may confuse COPY quote 0x%x"

SQLSTATE: XX000

Description: The quote parameter is set to a space or question mark (?), and compatible_illegal_chars is set to true, indicating the invalid characters are compatible. The imported invalid characters are converted to spaces or question marks, introducing confusion with the quote parameter, which results in potential import errors.

Solution: Set quote to other characters except a space or question mark to avoid confusion with invalid characters after they are converted.

GAUSS-04662: "illegal chars conversion may confuse COPY escape 0x%x"

SQLSTATE: 42601

Description: The escape parameter is set to a space or question mark (?), and compatible_illegal_chars is set to true, indicating the imported invalid characters are compatible. The imported invalid characters are converted to spaces or question marks, introducing confusion with the escape parameter, which results in potential import errors.

Solution: Set escape to other characters except a space or question mark to avoid confusion with invalid characters after they are converted.

GAUSS-04663: "the bulkload state isn't accordant"

SQLSTATE: XX000

Description: Internal system error. The global variable cache CopyState is inconsistent with CopyState that was imported before.

Solution: Contact technical support.

GAUSS-04664: "Failed to get import task for dn:%s"

SQLSTATE: XX000

Description: A DN is not assigned any import tasks when you use GDS to import data.

Solution: Try again.

GAUSS-04665: "Receive wrong messge %d from GDS."

SQLSTATE: XX000

Description:: A DN receives an error message from GDS.

Solution: Ensure the current network is normal and try again.

GAUSS-04666: "Receive incomplete message from GDS."

SQLSTATE: XX000

Description: The DN receives a currently unsupported message from GDS.

Solution: Ensure the current network is normal and try again.

GAUSS-04667: "fail to find xdb file path '%s'"

SQLSTATE: XX000

Description: The path of the dictionary file does not exist.

Solution: Modify the location of the dictionary file.

GAUSS-04668: "could not unlink xdb file : %m"

SQLSTATE: XX000

Description: A file directory fails to be deleted.

Solution: Check the path and format of the dictionary file and ensure that the user has the operation rights.

GAUSS-04669: "could not seek xdb file : %m"

SQLSTATE: XX000

Description: The dictionary file pointer reading location fails to be set.

Solution: Check the path and format of the dictionary file and ensure that the user has the operation rights.

GAUSS-04670: "could not read xdb file : %m"

SQLSTATE: XX000

Description: Failed to read the dictionary file.

Solution: Check the path and format of the dictionary file and ensure that the user has the operation rights.