JNSimba commented on code in PR #171:
URL:
https://github.com/apache/doris-spark-connector/pull/171#discussion_r1427502167
##########
spark-doris-connector/src/main/java/org/apache/doris/spark/rest/RestService.java:
##########
@@ -560,6 +582,42 @@ static List<BackendRow> parseBackend(String response,
Logger logger) throws Dori
return backendRows;
}
+ /**
+ * get Doris BE node.
+ * @param logger slf4j logger
+ * @return the Doris BE node
+ * @throws IllegalArgumentException BE nodes is illegal
+ */
+ public static List<BackendV2.BackendRowV2> getBeBackendRows(SparkSettings
sparkSettings, Logger logger) throws DorisException {
Review Comment:
Backend means be. Maybe we can change the function name?
--
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]