Skip to content

Commit

Permalink
[INLONG-11366][Manager] Fix the problem of data preview error handlin…
Browse files Browse the repository at this point in the history
…g line delimiter
  • Loading branch information
fuweng11 committed Oct 18, 2024
1 parent dd37f0a commit ba330dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public List<FieldInfo> parseFields(String str, InlongStreamInfo streamInfo) thro
if (StringUtils.isNotBlank(streamInfo.getDataEscapeChar())) {
escapeChar = streamInfo.getDataEscapeChar().charAt(0);
}
String[][] rowValues = SplitUtils.splitCsv(str, separator, escapeChar, null, '\n', true);
String[][] rowValues = SplitUtils.splitCsv(str, separator, escapeChar, null, null, true);
int fieldIndex = 0;
for (int i = 0; i < rowValues.length; i++) {
String[] fieldValues = rowValues[i];
Expand Down

0 comments on commit ba330dd

Please sign in to comment.