imay commented on a change in pull request #1173: load data from Parquet file
(Issues #911)
URL: https://github.com/apache/incubator-doris/pull/1173#discussion_r289274992
##########
File path: fe/src/main/java/org/apache/doris/qe/MultiLoadMgr.java
##########
@@ -379,10 +378,14 @@ public DataDescription toDataDesc() throws DdlException {
throw new DdlException(e.getMessage());
}
}
+ format = properties.get(LoadStmt.KEY_IN_PARAM_FORMAT_TYPE);
+ if (Strings.isNullOrEmpty(format)) {
+ format = "csv";
+ }
}
DataDescription dataDescription = new DataDescription(
- tbl, null, files, columns, columnSeparator, false, null);
+ tbl, null, files, columns, columnSeparator, format, false,
null);
Review comment:
there is no need to change this file, because there is a DataDescription
constructor without format
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]