chenlinzhong commented on a change in pull request #8765:
URL: https://github.com/apache/incubator-doris/pull/8765#discussion_r841000405



##########
File path: be/src/runtime/export_sink.cpp
##########
@@ -96,6 +96,13 @@ Status ExportSink::send(RuntimeState* state, RowBatch* 
batch) {
     int num_rows = batch->num_rows();
     // we send at most 1024 rows at a time
     int batch_send_rows = num_rows > 1024 ? 1024 : num_rows;
+    if (_t_export_sink.header.size() > 0) {
+        size_t written_len = 0;
+        RETURN_IF_ERROR(
+                _file_writer->write(reinterpret_cast<const 
uint8_t*>(_t_export_sink.header.c_str()),
+                                    _t_export_sink.header.size(), 
&written_len));
+        _t_export_sink.header = "";

Review comment:
       ok

##########
File path: fe/fe-core/src/main/java/org/apache/doris/load/BrokerFileGroup.java
##########
@@ -214,7 +215,9 @@ public void parse(Database db, DataDescription 
dataDescription) throws DdlExcept
             if (!fileFormat.equalsIgnoreCase("parquet")
                     && !fileFormat.equalsIgnoreCase("csv")

Review comment:
       ok




-- 
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]

Reply via email to