mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
fasttest + rm .py
This commit is contained in:
parent
b1e1553061
commit
a80bbf6e0e
@ -53,6 +53,7 @@ RUN apt-get update \
|
||||
ninja-build \
|
||||
psmisc \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-lxml \
|
||||
python3-requests \
|
||||
python3-termcolor \
|
||||
@ -63,6 +64,8 @@ RUN apt-get update \
|
||||
unixodbc \
|
||||
--yes --no-install-recommends
|
||||
|
||||
RUN pip3 install numpy scipy pandas
|
||||
|
||||
# This symlink required by gcc to find lld compiler
|
||||
RUN ln -s /usr/bin/lld-${LLVM_VERSION} /usr/bin/ld.lld
|
||||
|
||||
|
@ -5,4 +5,4 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
|
||||
# We should have correct env vars from shell_config.sh to run this test
|
||||
|
||||
python3 "$CURDIR"/01322_ttest_scipy.py
|
||||
python3 "$CURDIR"/01322_ttest_scipy.python
|
||||
|
@ -0,0 +1,25 @@
|
||||
DROP TABLE IF EXISTS mv;
|
||||
DROP DATABASE IF EXISTS dict_01521;
|
||||
CREATE DATABASE dict_01521;
|
||||
|
||||
CREATE TABLE dict_01521.sharding_table (key UInt64, val UInt64) Engine=Memory();
|
||||
|
||||
CREATE DICTIONARY dict_01521.sharding_dict
|
||||
(
|
||||
key UInt64 DEFAULT 0,
|
||||
val UInt8 DEFAULT 1
|
||||
)
|
||||
PRIMARY KEY key
|
||||
SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 USER 'default' TABLE 'sharding_table' PASSWORD '' DB 'dict_01521'))
|
||||
LIFETIME(MIN 0 MAX 0)
|
||||
LAYOUT(HASHED());
|
||||
|
||||
INSERT INTO dict_01521.sharding_table VALUES (150, 1), (151, 2);
|
||||
|
||||
CREATE TABLE table_first (a UInt64, b UInt64) ENGINE = Memory;
|
||||
CREATE TABLE table_second (a UInt64, b UInt64) ENGINE = Memory;
|
||||
|
||||
CREATE TABLE table_distr (a Int) ENGINE = Distributed(test_cluster_two_shards, currentDatabase(), 't_local');
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user