Commit Graph

10769 Commits

Author SHA1 Message Date
万康
80f33244d4 add column default_database 2021-08-01 08:12:37 +08:00
万康
66631ca680 add column default_database 2021-08-01 08:11:01 +08:00
Vitaliy Zakaznikov
bd1e2eda47 Moving to TestFlows 1.7.20 that has native support for parallel tests. 2021-07-31 15:50:27 -04:00
Alexey Milovidov
7fa24539b8 Make test 01852_cast_operator independent of timezone 2021-07-31 21:24:23 +03:00
Amos Bird
c38403998e
Fix flaky 2021-07-31 23:00:10 +08:00
Amos Bird
c03b20d1a1
Fix 2021-07-31 17:02:33 +08:00
Amos Bird
479d4fa991
Add shardNum() and shardCount() functions 2021-07-31 15:45:39 +08:00
Vitaly Baranov
99929981ab
Merge pull request #25687 from MaxWk/profile-default-database
add setting profile_default_database
2021-07-31 08:37:02 +03:00
alexey-milovidov
71d20659c9
Merge pull request #27007 from ClickHouse/tavplubix-patch-2-1
Set insert_quorum_timeout to 1 minute for tests.
2021-07-31 04:55:00 +03:00
alexey-milovidov
d2b7e23899
Merge pull request #26961 from Enmk/fix/extractAllGroupsHorizontal_max_matches_per_row
Updated extractAllGroupsHorizontal - flexible limit on number of matches
2021-07-31 04:54:24 +03:00
alexey-milovidov
c74f5feaaf
Merge pull request #27028 from Algunenano/flaky_01006
Improve 01006_simpod_empty_part_single_column_write
2021-07-31 04:53:39 +03:00
alexey-milovidov
7e5f25ea92
Merge pull request #27026 from excitoon-favorites/runner
Improved `runner` to use `pytest` keyword expressions
2021-07-31 00:09:07 +03:00
mergify[bot]
1d4e2564bc
Merge branch 'master' into improve_executable_dictionary 2021-07-30 16:45:39 +00:00
alexey-milovidov
f17b5debfb
Merge pull request #27023 from Algunenano/flaky_drop_create_merge
Attempt to fix flaky 00705_drop_create_merge_tree
2021-07-30 19:45:22 +03:00
alesapin
02176fb4c7 Add experimental flag 2021-07-30 18:25:51 +03:00
Raúl Marín
1f3c8387a3 01006_simpod_empty_part_single_column_write: Use sync mutation instead of waiting 2021-07-30 15:53:33 +02:00
alesapin
acc4e9e79d Merge remote-tracking branch 'evillique/nlp' into evillique-nlp 2021-07-30 16:46:58 +03:00
Raúl Marín
be126cbbc5 Improve wait_for_mutation check
Fast return if there isn't any mutation (it's likely it has finished already)
2021-07-30 15:36:51 +02:00
Vladimir Chebotarev
1cf4da2df7 Improved runner to use pytest keyword expressions. 2021-07-30 15:59:27 +03:00
Raúl Marín
f0ff9af332 Attempt to fix flaky 00705_drop_create_merge_tree 2021-07-30 13:40:49 +02:00
alesapin
66e675e54e
Merge pull request #26897 from qoega/test_distributed_respect_user_timeouts-tune
Try increase diff upper bound
2021-07-30 14:28:54 +03:00
Amos Bird
7b9e81742f
Shard level constness 2021-07-30 18:53:34 +08:00
Alexander Kuzmenkov
4b9cf024f5
Merge pull request #26960 from ClickHouse/aku/window-partition-boundary
fix window function partition boundary search
2021-07-30 13:25:54 +03:00
alesapin
916594fe23 Merge branch 'master' into evillique-nlp 2021-07-30 13:03:10 +03:00
Maksim Kita
5666cf5fee
Merge pull request #27008 from Algunenano/adjust_00537_quarters
Adjust 00537_quarters to be timezone independent
2021-07-30 12:54:51 +03:00
Vasily Nemkov
a1fb16df52 setting regexp_max_matches_per_row instead of 3rd argument 2021-07-30 12:28:21 +03:00
Raúl Marín
4106d4bc21 Adjust 00537_quarters to be timezone independent 2021-07-30 11:14:07 +02:00
PHO
6425dd001a
Add a codec AES_128_GCM_SIV for encrypting columns on disk (#19896)
* Add a codec Encrypted() for encrypting columns on disk

While this is implemented as a compression codec, it does not actually compress data. It instead encrypts data on disk. The key is obtained by executing a user-specified command at the server startup, or if it's not specified the codec refuses to process any data. For now the only supported cipher is 'AES-128-GCM-SIV'.
2021-07-30 12:12:33 +03:00
tavplubix
5a526ed078
Update timeouts.xml 2021-07-30 12:02:13 +03:00
alesapin
cae5502d51
Merge pull request #26963 from ClickHouse/fix_bad_partition_id
Add simple validation for partition id before drop partition
2021-07-30 11:21:28 +03:00
alexey-milovidov
99849f94c0
Merge pull request #26959 from ClickHouse/fix_stress_client_options
Fix client options in stress test
2021-07-30 08:49:34 +03:00
alexey-milovidov
4545fa15f7
Merge pull request #26975 from Algunenano/fix_quota_test
Fix 01600_quota_by_forwarded_ip
2021-07-30 08:45:05 +03:00
Maksim Kita
c5349f6d8c
Merge pull request #26901 from Algunenano/fix_client_secure
Tests: Fix CLICKHOUSE_CLIENT_SECURE with the default config
2021-07-29 21:43:42 +03:00
Raúl Marín
b4cd34b5fb Make the test parallelizable 2021-07-29 20:01:57 +02:00
Raúl Marín
8f8df8bf7b Test with printf instead 2021-07-29 19:22:57 +02:00
Raúl Marín
89a26f6d84 executable_dictionary: Use echo -e 2021-07-29 18:29:21 +02:00
Raúl Marín
ee4759ce86 Fix 01600_quota_by_forwarded_ip
The test was assuming clickhouse-local and curl would connect using the same address
2021-07-29 17:47:16 +02:00
tavplubix
c18c16855a
Merge pull request #26913 from PolyProgrammist/table-function-cluster-macros
Supported cluster macros inside table function 'cluster'
2021-07-29 18:43:36 +03:00
tavplubix
8aa5df7ceb
Update 01154_move_partition_long.sh 2021-07-29 16:40:33 +03:00
alesapin
21599ffefc Simple validation for partition id before drop partition 2021-07-29 16:11:05 +03:00
Alexander Kuzmenkov
55e1d1b592 the reference was correct after all, I just confused the sides of the
diff
2021-07-29 15:49:37 +03:00
Vasily Nemkov
ec77ba8bfc Updated extractAllGroupsHorizontal - flexible limit on number of matches per row.
If it is not set via third argument, it deafults to previously hardcoded
value 1000.
2021-07-29 15:36:55 +03:00
alesapin
bb77342606 Add test 2021-07-29 15:33:28 +03:00
Alexander Kuzmenkov
7c9467d7a7 fix window function partition boundary search
It was horribly broken and many test references were wrong. I'm
surprised I never noticed this.
2021-07-29 15:18:10 +03:00
Alexander Tokmakov
381634960e fix client options in stress test 2021-07-29 15:16:34 +03:00
Raúl Marín
0505e2e589 Add tests 2021-07-29 13:03:14 +02:00
tavplubix
4a3ade1aa5
Merge pull request #26814 from ClickHouse/fix_lost_aggregate_function_parameters
Fix lost parameters of aggregate functions
2021-07-29 13:43:05 +03:00
tavplubix
f8b6815ade
Merge pull request #26847 from ClickHouse/check_aggregate_function_parameters
Check aggregate function parameters in -Merge combinator
2021-07-29 13:42:52 +03:00
Vadim Volodin
918a4e8ab3 Supported cluster macros inside table function 'cluster' 2021-07-29 12:12:29 +03:00
kssenii
f1e96dbc55 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into taiyang-li-disk-reload 2021-07-29 07:53:16 +00:00
Alexey Milovidov
b7a26772f3 Add comments 2021-07-29 09:15:44 +03:00
Alexey Milovidov
10166eb1a4 Revert Arcadia file 2021-07-29 09:13:13 +03:00
Alexey Milovidov
c4c3e34377 Remove unused files that confuse developers #26913 2021-07-29 09:10:29 +03:00
alexey-milovidov
905eed2429
Merge pull request #26915 from Algunenano/fix_01854
Improve test compatibility (00646_url_engine and 01854_HTTP_dict_decompression)
2021-07-29 01:20:17 +03:00
alexey-milovidov
5ed60ee6bf
Merge pull request #26918 from Algunenano/01921_timezone
01921_datatype_date32: Adapt it to work under Pacific/Fiji
2021-07-29 01:19:33 +03:00
alesapin
26b129bef2
Merge pull request #26900 from ClickHouse/fix_trash_bug
Fix bug when default column reference non materialized column
2021-07-28 22:40:48 +03:00
Alexander Tokmakov
764701c3f3 allow mismatching parameters for some functions 2021-07-28 20:55:13 +03:00
Raúl Marín
46b162c595 01921_datatype_date32: Adapt it to work under Pacific/Fiji 2021-07-28 18:16:32 +02:00
Raúl Marín
0bb2eb3f4f More PR comments 2021-07-28 18:05:37 +02:00
Raúl Marín
92ed6f5cc9 Improvements from PR review 2021-07-28 17:48:40 +02:00
Raúl Marín
3a1081ddee Same for 00646_url_engine 2021-07-28 17:21:18 +02:00
Raúl Marín
62a9a89ced Improve 01854_HTTP_dict_decompression compatibility
127.0.0.1 192.168.1.193 might return multiple ip addresses, so take the first one
2021-07-28 17:18:55 +02:00
alesapin
d91380cd71 Fix bug when default column reference non materialized column 2021-07-28 15:04:42 +03:00
Raúl Marín
d2a8ec9b93 Fix CLICKHOUSE_CLIENT_SECURE with the default config 2021-07-28 14:03:35 +02:00
Yatsishin Ilya
315c3f804c Try increase diff upper bound 2021-07-28 13:29:15 +03:00
Yatsishin Ilya
50ae1b3255 Better tests 2021-07-28 13:22:15 +03:00
OmarBazaraa
6b9e0f5a6f Fix 2021-07-28 09:38:34 +00:00
OmarBazaraa
8acc290bc5 Add integration tests 2021-07-28 09:38:34 +00:00
Alexander Tokmakov
fab4529c97 Merge branch 'master' into rename_materialize_mysql 2021-07-28 12:18:01 +03:00
alesapin
1277db4435
Merge pull request #26129 from ClickHouse/system_zookeeper_log
Add system.zookeeper_log table
2021-07-28 11:22:29 +03:00
Ilya Yatsishin
093384f90f
Merge pull request #26827 from qoega/jdbc-bridge-test 2021-07-28 09:34:13 +03:00
Alexander Tokmakov
fc9ab2cda7 Merge branch 'master' into rename_materialize_mysql 2021-07-27 22:38:40 +03:00
Alexander Tokmakov
ebcf0844f5 fix_tests 2021-07-27 20:30:25 +03:00
Alexander Tokmakov
378dcef813 fixes 2021-07-27 19:57:28 +03:00
Kseniia Sumarokova
b5dce17707
Merge pull request #26821 from azat/rocksdb-improvements
Add system.rocksdb and read rocksdb/rocksdb_TABLE options from config
2021-07-27 17:31:12 +03:00
mergify[bot]
242efdd0f1
Merge branch 'master' into jdbc-bridge-test 2021-07-27 14:28:27 +00:00
Kseniia Sumarokova
f2e599d8d1
Merge pull request #26826 from kssenii/rabbit-fix-tests
Try fix rabbitmq tests
2021-07-27 17:07:37 +03:00
alexey-milovidov
d7b2404119
Merge pull request #15408 from ClickHouse/random_timezone_for_stateless_tests
Use random timezone in stateless and stateful tests
2021-07-27 16:18:14 +03:00
kevin wan
a56a3c793c
Merge branch 'master' into profile-default-database 2021-07-27 21:08:08 +08:00
Vitaly Baranov
8e98cf7c4d
Merge pull request #26818 from vitlibar/fix-killing-unstopped-containers-in-integration-tests
Fix killing unstopped containers in integration tests.
2021-07-27 15:38:36 +03:00
万康
720f8805f9 refactor 2021-07-27 20:32:04 +08:00
Alexander Kuzmenkov
ece7d000dd
Merge pull request #26736 from Algunenano/ch_local_remote_localhost
CH local: Treat localhost:port as a remote database
2021-07-27 15:30:54 +03:00
Alexander Kuzmenkov
7e737d9568
Merge pull request #26334 from ryzuo/ryzuo
Implementation of window function nth_value
2021-07-27 15:02:29 +03:00
tavplubix
d071fbc2f5
Merge pull request #26830 from ClickHouse/tavplubix-patch-3
Try fix timeout in functional tests with pytest
2021-07-27 14:43:45 +03:00
tavplubix
41f1a1c4e7
Update query_test.py 2021-07-27 12:41:35 +03:00
Yatsishin Ilya
f8c7058bcf Better 2021-07-27 10:33:49 +03:00
Alexey Milovidov
2872b7fec6 Fix for Antarctica/Casey 2021-07-27 09:53:58 +03:00
Vitaly Baranov
72ab7f598c Fix killing unstopped containers in integration tests. 2021-07-27 09:31:04 +03:00
kssenii
1d50e9a3b9 Add retries 2021-07-27 06:16:40 +00:00
Azat Khuzhin
8ef677b15f Add ability to set any rocksdb option via config.xml
v2: Cover rocksdb options in ClickHouse config
v3: add missing __init__.py
v4: Rework rocksdb options from config
v5: add column_family_options support
2021-07-27 08:40:50 +03:00
Alexey Milovidov
6d64cf8de2 Fix test 2021-07-27 06:55:59 +03:00
Alexey Milovidov
04196d1cd6 Fix for Sydney 2021-07-27 05:33:03 +03:00
Azat Khuzhin
c7d2a5aad8 Add system.rocksdb table (with various rocksdb internals)
v2: fix USE_ROCKSDB check (there is #cmakedefine01 so it is either 0/1,
so we should not check with #ifdef)
2021-07-26 23:13:59 +03:00
Alexander Tokmakov
a7e644f774 support old name 2021-07-26 21:24:32 +03:00
Alexander Tokmakov
63ab38ee09 rename MaterializeMySQL to MaterializedMySQL 2021-07-26 21:17:28 +03:00
tavplubix
858bef8bef
Update clickhouse-test 2021-07-26 19:19:47 +03:00
Raúl Marín
2b410c744a Ignore ASAN warning 2021-07-26 17:28:32 +02:00
Alexander Tokmakov
304c367912 fix groupUniqArray 2021-07-26 17:57:49 +03:00
Alexander Tokmakov
5c9f69ea17 fix parameters with combinators 2021-07-26 17:37:47 +03:00
mergify[bot]
2929cf3ba8
Merge branch 'master' into system_zookeeper_log 2021-07-26 08:40:55 +00:00