Copilot commented on code in PR #9558:
URL: https://github.com/apache/seatunnel/pull/9558#discussion_r2218132155
##########
seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/exception/PaimonConnectorErrorCode.java:
##########
@@ -29,7 +29,9 @@ public enum PaimonConnectorErrorCode implements
SeaTunnelErrorCode {
LOAD_CATALOG("PAIMON-06", "Load catalog failed"),
GET_FILED_FAILED("PAIMON-07", "Get field failed"),
UNSUPPORTED_PRIMARY_DATATYPE("PAIMON-08", "Paimon primary key datatype is
unsupported"),
- WRITE_PROPS_BUCKET_KEY_ERROR("PAIMON-09", "Cannot define 'bucket-key' in
dynamic bucket mode"),
+ WRITE_PROPS_BUCKET_KEY_ERROR(
+ "PAIMON-09",
+ "ErrorCode:[API-03], ErrorDescription:[Catalog initialize failed]
- An unexpected error occurred"),
Review Comment:
The error message has been changed from the specific bucket key error
description to a generic catalog initialization error. This makes the error
message less helpful for diagnosing bucket key configuration issues.
```suggestion
"ErrorCode:[API-03], ErrorDescription:[Bucket key configuration
error] - Failed to initialize catalog due to invalid or missing bucket key
settings"),
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]