Hisoka-X commented on code in PR #8789: URL: https://github.com/apache/seatunnel/pull/8789#discussion_r1966988994
########## seatunnel-connectors-v2/connector-starrocks/src/main/java/org/apache/seatunnel/connectors/seatunnel/starrocks/client/StarRocksStreamLoadVisitor.java: ########## @@ -71,7 +71,7 @@ public Boolean doStreamLoad(StarRocksFlushTuple flushData) throws IOException { String host = getAvailableHost(); if (null == host) { throw new StarRocksConnectorException( - CommonErrorCodeDeprecated.ILLEGAL_ARGUMENT, + CommonErrorCode.ILLEGAL_ARGUMENT, Review Comment: Please do not directly use common error code, we should create it in https://github.com/apache/seatunnel/blob/c1b2675ab0826bc90a16766b1811f9f3dc4c2c0c/seatunnel-common/src/main/java/org/apache/seatunnel/common/exception/CommonError.java#L58 -- 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: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org