ClickHouse/dbms/tests/queries/0_stateless/00304_http_external_data.sh

4 lines
164 B
Bash
Executable File

#!/usr/bin/env 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';