cambyzju commented on a change in pull request #8604:
URL: https://github.com/apache/incubator-doris/pull/8604#discussion_r832794668



##########
File path: be/src/http/action/stream_load.cpp
##########
@@ -98,6 +98,40 @@ static TFileFormatType::type parse_format(const std::string& 
format_str,
         if (compress_type.empty()) {
             format_type = TFileFormatType::FORMAT_JSON;
         }
+    } else if (boost::iequals(format_str, "CSV_WITH_NAMES")) {
+        if (compress_type.empty()) {
+            format_type = TFileFormatType::FORMAT_CSVWITHNAMES_PLAIN;
+        }

Review comment:
       add else?




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