This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new 1aa148d [Bug]Fix mini load NPE (#4026) 1aa148d is described below commit 1aa148da7f1dea01b5d42fcd9f2c71bfae7e4319 Author: Lijia Liu <liutang...@yeah.net> AuthorDate: Tue Jul 7 23:08:08 2020 +0800 [Bug]Fix mini load NPE (#4026) for #4025 --- fe/src/main/java/org/apache/doris/load/Load.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/fe/src/main/java/org/apache/doris/load/Load.java b/fe/src/main/java/org/apache/doris/load/Load.java index 38fa0d7..7816e10 100644 --- a/fe/src/main/java/org/apache/doris/load/Load.java +++ b/fe/src/main/java/org/apache/doris/load/Load.java @@ -314,8 +314,16 @@ public class Load { formatType = params.get(LoadStmt.KEY_IN_PARAM_FORMAT_TYPE); } - DataDescription dataDescription = new DataDescription(tableName, new PartitionNames(false, partitionNames), - filePaths, columnNames, columnSeparator, formatType, false, null); + DataDescription dataDescription = new DataDescription( + tableName, + partitionNames != null ? new PartitionNames(false, partitionNames) : null, + filePaths, + columnNames, + columnSeparator, + formatType, + false, + null + ); dataDescription.setLineDelimiter(lineDelimiter); dataDescription.setBeAddr(beAddr); // parse hll param pair --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org