carlvinhust2012 commented on code in PR #11082: URL: https://github.com/apache/doris/pull/11082#discussion_r927317267
########## regression-test/suites/load/broker_load/test_array_load.groovy: ########## @@ -101,7 +102,27 @@ suite("test_array_load", "load") { def result1= sql """ LOAD LABEL ${label} ( DATA INFILE("${hdfsFilePath}") - INTO TABLE ${testTablex} + INTO TABLE ${testTablex} + FORMAT as "${format}") + with BROKER "${brokerName}" ( + "username"="${hdfsUser}", + "password"="${hdfsPasswd}") + PROPERTIES ( + "timeout"="1200", + "max_filter_ratio"="0.1"); + """ + + assertTrue(result1.size() == 1) + assertTrue(result1[0].size() == 1) + assertTrue(result1[0][0] == 0, "Query OK, 0 rows affected") + } + + def load_from_hdfs1 = {testTablex, label, hdfsFilePath, format, brokerName, hdfsUser, hdfsPasswd -> + def result1= sql """ + LOAD LABEL ${label} ( + DATA INFILE("${hdfsFilePath}") + INTO TABLE ${testTablex} + COLUMNS TERMINATED BY "/" Review Comment: I have test this but it not work. Because 'COLUMNS TERMINATED BY' can't recognize the incoming parameter. -- 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