JNSimba commented on code in PR #64850:
URL: https://github.com/apache/doris/pull/64850#discussion_r3527107222
##########
fs_brokers/cdc_client/src/main/java/org/apache/doris/cdcclient/utils/SchemaChangeManager.java:
##########
@@ -125,25 +175,33 @@ private static String handleResponse(HttpPost request)
throws IOException {
* <li>DROP COLUMN — "Column does not exists": column was already
dropped.
* </ul>
*/
- private static void parseResponse(String sql, String responseBody) throws
IOException {
+ private static void parseResponse(SchemaChangeOperation operation, String
responseBody)
+ throws IOException {
JsonNode root = OBJECT_MAPPER.readTree(responseBody);
JsonNode code = root.get("code");
if (code != null && code.asInt() == 0) {
return;
}
String msg = root.path("msg").asText("");
+ String data = root.path("data").asText("");
Review Comment:
No need to consider it.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]