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

4 lines
156 B
Bash
Raw Normal View History

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