yiguolei commented on code in PR #23752:
URL: https://github.com/apache/doris/pull/23752#discussion_r1312766560


##########
fe/fe-core/src/main/java/org/apache/doris/tablefunction/ExternalFileTableValuedFunction.java:
##########
@@ -227,8 +227,7 @@ protected void parseProperties(Map<String, String> 
validParams) throws AnalysisE
         }
 
         // TODO Support is needed in the future
-        if (getTFileType() == TFileType.FILE_STREAM && 
(formatString.equals("json")
-                || formatString.equals("csv_with_names")
+        if (getTFileType() == TFileType.FILE_STREAM && 
(formatString.equals("csv_with_names")
                 || formatString.equals("csv_with_names_and_types")
                 || formatString.equals("parquet")
                 || formatString.equals("avro")

Review Comment:
               throw new AnalysisException("current http_stream does not yet 
support **json**, parquet and orc");



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to