ClickHouse/dbms/tests/queries/0_stateless/00210_insert_select_extremes_http.sh

7 lines
375 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2015-07-27 16:57:02 +00:00
2015-07-27 18:05:32 +00:00
curl -sS http://localhost:8123/?extremes=1 -d @- <<< "DROP TABLE IF EXISTS test.test"
curl -sS http://localhost:8123/?extremes=1 -d @- <<< "CREATE TABLE test.test (x UInt8) ENGINE = Log"
curl -sS http://localhost:8123/?extremes=1 -d @- <<< "INSERT INTO test.test SELECT 1 AS x"
curl -sS http://localhost:8123/?extremes=1 -d @- <<< "DROP TABLE test.test"