diff --git a/dbms/tests/queries/0_stateless/00304_http_external_data.reference b/dbms/tests/queries/0_stateless/00304_http_external_data.reference new file mode 100644 index 00000000000..3a2c90e1eb4 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00304_http_external_data.reference @@ -0,0 +1,2 @@ +1 Hello +2 World diff --git a/dbms/tests/queries/0_stateless/00304_http_external_data.sh b/dbms/tests/queries/0_stateless/00304_http_external_data.sh new file mode 100755 index 00000000000..e77815e8784 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00304_http_external_data.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo -ne '1,Hello\n2,World\n' | curl -sSF 'file=@-' 'http://localhost:8123/?query=SELECT+*+FROM+file&file_format=CSV&file_types=UInt8,String';