mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Fix test a little bit
This commit is contained in:
parent
4006be502b
commit
059175217f
@ -4,12 +4,14 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|||||||
# shellcheck source=../shell_config.sh
|
# shellcheck source=../shell_config.sh
|
||||||
. "$CURDIR"/../shell_config.sh
|
. "$CURDIR"/../shell_config.sh
|
||||||
|
|
||||||
echo "DROP TABLE IF EXISTS table" | ${CLICKHOUSE_CURL} -sSg "${CLICKHOUSE_URL}&session_id=01783" -d @-
|
URL="${CLICKHOUSE_URL}&session_id=id_${CLICKHOUSE_DATABASE}"
|
||||||
echo "CREATE TABLE table (a String) ENGINE Memory()" | ${CLICKHOUSE_CURL} -sSg "${CLICKHOUSE_URL}&session_id=01783" -d @-
|
|
||||||
|
echo "DROP TABLE IF EXISTS table" | ${CLICKHOUSE_CURL} -sSg "${URL}" -d @-
|
||||||
|
echo "CREATE TABLE table (a String) ENGINE Memory()" | ${CLICKHOUSE_CURL} -sSg "${URL}" -d @-
|
||||||
|
|
||||||
# NOTE: suppose that curl sends everything in a single chunk - there are no options to force the chunk-size.
|
# NOTE: suppose that curl sends everything in a single chunk - there are no options to force the chunk-size.
|
||||||
echo "SET max_query_size=44" | ${CLICKHOUSE_CURL} -sSg "${CLICKHOUSE_URL}&session_id=01783" -d @-
|
echo "SET max_query_size=44" | ${CLICKHOUSE_CURL} -sSg "${URL}" -d @-
|
||||||
echo -ne "INSERT INTO TABLE table FORMAT TabSeparated 1234567890 1234567890 1234567890 1234567890\n" | ${CLICKHOUSE_CURL} -H "Transfer-Encoding: chunked" -sS "${CLICKHOUSE_URL}&session_id=01783" --data-binary @-
|
echo -ne "INSERT INTO TABLE table FORMAT TabSeparated 1234567890 1234567890 1234567890 1234567890\n" | ${CLICKHOUSE_CURL} -H "Transfer-Encoding: chunked" -sS "${URL}" --data-binary @-
|
||||||
|
|
||||||
echo "SELECT * from table" | ${CLICKHOUSE_CURL} -sSg "${CLICKHOUSE_URL}&session_id=01783" -d @-
|
echo "SELECT * from table" | ${CLICKHOUSE_CURL} -sSg "${URL}" -d @-
|
||||||
echo "DROP TABLE table" | ${CLICKHOUSE_CURL} -sSg "${CLICKHOUSE_URL}&session_id=01783" -d @-
|
echo "DROP TABLE table" | ${CLICKHOUSE_CURL} -sSg "${URL}" -d @-
|
||||||
|
@ -164,7 +164,8 @@
|
|||||||
"00062_replicated_merge_tree_alter_zookeeper",
|
"00062_replicated_merge_tree_alter_zookeeper",
|
||||||
/// Does not support renaming of multiple tables in single query
|
/// Does not support renaming of multiple tables in single query
|
||||||
"00634_rename_view",
|
"00634_rename_view",
|
||||||
"00140_rename"
|
"00140_rename",
|
||||||
|
"01783_http_chunk_size"
|
||||||
],
|
],
|
||||||
"polymorphic-parts": [
|
"polymorphic-parts": [
|
||||||
"01508_partition_pruning_long", /// bug, shoud be fixed
|
"01508_partition_pruning_long", /// bug, shoud be fixed
|
||||||
|
Loading…
Reference in New Issue
Block a user