CalvinKirs commented on code in PR #3903:
URL: 
https://github.com/apache/incubator-seatunnel/pull/3903#discussion_r1066947234


##########
seatunnel-connectors-v2/connector-maxcompute/src/main/java/org/apache/seatunnel/connectors/seatunnel/maxcompute/util/MaxcomputeTypeMapper.java:
##########
@@ -250,8 +250,8 @@ private static Object resolveObject(Object field, 
SeaTunnelDataType<?> fieldType
                     case DOUBLE:
                         return origArray.toArray(new Double[0]);
                     default:
-                        String errorMsg = String.format("SeaTunnel array type 
not support this type [%s] now", fieldType.getSqlType());
-                        throw new 
MaxcomputeConnectorException(CommonErrorCode.UNSUPPORTED_DATA_TYPE, "SeaTunnel 
not support this data type now");
+                        String errorMsg = String.format("SeaTunnel Maxcompute 
array type not support this type [%s] now", fieldType.getSqlType());
+                        throw new 
MaxcomputeConnectorException(CommonErrorCode.UNSUPPORTED_DATA_TYPE, errorMsg);

Review Comment:
   Why does this parameter conversion exception need to use 
`MaxcomputeConnectorException` alone?



-- 
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]

Reply via email to