morningman commented on a change in pull request #4532:
URL: https://github.com/apache/incubator-doris/pull/4532#discussion_r483064082
##########
File path:
fe/spark-dpp/src/main/java/org/apache/doris/load/loadv2/dpp/SparkDpp.java
##########
@@ -640,6 +642,22 @@ private StructType createScrSchema(List<String>
srcColumns) {
return srcSchema;
}
+ // This method is to keep the splitting consistent with broker load / mini
load
+ private String[] splitLine(String line, char sep) {
Review comment:
if `line` is an empty string, this method should return an empty string
array.
But here you will return a string array with one empty string in 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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]