morningman commented on code in PR #16983: URL: https://github.com/apache/doris/pull/16983#discussion_r1115283629
########## fe/fe-core/src/main/java/org/apache/doris/tablefunction/ExternalFileTableValuedFunction.java: ########## @@ -180,6 +193,74 @@ protected void parseProperties(Map<String, String> validParams) throws AnalysisE stripOuterArray = Boolean.valueOf(validParams.get(STRIP_OUTER_ARRAY)).booleanValue(); numAsString = Boolean.valueOf(validParams.get(NUM_AS_STRING)).booleanValue(); fuzzyParse = Boolean.valueOf(validParams.get(FUZZY_PARSE)).booleanValue(); + + if (formatString.equals("csv") || formatString.equals("csv_with_names") + || formatString.equals("csv_with_names_and_types")) { Review Comment: Yes, may be later, because I didn't find a standard format of csv names and types yet. And I think if user specified the schema, it should be override the names and type in file -- 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