Azat Khuzhin
dee27fcbb9
Fix on-disk format breakage for secondary indices over Nullable column
...
[1] breaks on disk format (and the relevant change in the:
[1]: https://github.com/ClickHouse/ClickHouse/pull/12455#discussion_r682830812
Too bad that I checked this patchset only for compatibility after
reverting this patch [2] (use case: I've applied it manually, then
revert it, and data skipping indexes over Nullable column had been
broken)
[2]: https://github.com/ClickHouse/ClickHouse/pull/12455#issuecomment-823423772
But this patchset actually breaks compatibility with older versions of
clickhouse for Nullable data skipping indexes after simple upgrade:
Here is a simple reproducer:
--
-- run this with 21.6 or similar (i.e. w/o this patch)
--
CREATE TABLE data
(
`key` Int,
`value` Nullable(Int),
INDEX value_index value TYPE minmax GRANULARITY 1
)
ENGINE = MergeTree
ORDER BY key;
INSERT INTO data SELECT
number,
number
FROM numbers(10000);
SELECT * FROM data WHERE value = 20000 SETTINGS force_data_skipping_indices = 'value_index' SETTINGS force_data_skipping_indices = 'value_index', max_rows_to_read=1;
Now upgrade and run the query again:
SELECT * FROM data WHERE value = 20000 SETTINGS force_data_skipping_indices = 'value_index' SETTINGS force_data_skipping_indices = 'value_index', max_rows_to_read=1;
And it will fail because of on disk format changes:
$ ll --time-style=+ data/*/data/all_1_1_0/skp*.idx
-rw-r----- 1 azat azat 36 data/with_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
-rw-r----- 1 azat azat 37 data/without_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
$ md5sum data/*/data/all_1_1_0/skp*.idx
a19c95c4a14506c65665a1e30ab404bf data/with_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
e50e2fcfa873b232196623d56ab26105 data/without_nullable_patch/data/all_1_1_0/skp_idx_value_index.idx
Note, that there is no stable release with this patch included yet, so
no need to backport.
Also note that you may create data skipping indexes over Nullable
column even before [3].
[3]: https://github.com/ClickHouse/ClickHouse/pull/12455
v2: break cases when granulas has Null in values due to backward
compatibility
2021-08-05 00:19:38 +03:00
Azat Khuzhin
f710f1e954
Cover data skipping indices on disk format (compare with 21.6)
2021-08-05 00:19:32 +03:00
kssenii
f06703a7c9
Support schema for postgres database engine
2021-08-04 20:52:45 +00:00
Anton Popov
2b6dc35d9f
Merge pull request #27122 from amosbird/datedatetimecomp
...
Specialize date time comparision.
2021-08-04 21:44:48 +03:00
Azat Khuzhin
643c31d6f3
Save information about used functions/tables/... into query_log on error
2021-08-04 21:44:18 +03:00
Anton Popov
9a9aebc644
fix tests
2021-08-04 20:38:10 +03:00
tavplubix
538958aee6
Delete 01160_detached_parts.sql
2021-08-04 20:05:57 +03:00
Ildus Kurbangaliev
8e347bab99
Fix error in testflows related with mapPopulateSeries
2021-08-04 20:21:37 +05:00
Alexander Kuzmenkov
b190e499ee
fixup
2021-08-04 17:46:25 +03:00
Alexander Kuzmenkov
0730e685b0
Mark window functions ready for general use.
2021-08-04 17:45:32 +03:00
Alexander Tokmakov
23f8b3d07d
fix part name parsing in system.detached_parts
2021-08-04 17:42:48 +03:00
Kseniia Sumarokova
f58727b50f
Merge pull request #27060 from kssenii/library-bridge-fixes
...
library bridge fixes
2021-08-04 17:12:09 +03:00
Anton Ivashkin
61016da2b1
Set allow_remote_fs_zero_copy_replication to true by default
2021-08-04 17:08:09 +03:00
vdimir
b8558a1716
Fix uninitialized memory in functions multiSearch* with empty array
2021-08-04 16:44:39 +03:00
Maksim Kita
3f48c85722
StorageSystemReplicas added column replica_is_active
2021-08-04 16:19:42 +03:00
Ildus Kurbangaliev
d8ce46ea74
Show more details in testflows checks
2021-08-04 17:20:35 +05:00
tavplubix
0dbcbc28ba
Merge pull request #27164 from nicelulu/fix_0_stateless_01034
...
Fix CURR_DATABASE empty for 01034_move_partition_from_table_zookeeper.sh
2021-08-04 13:50:06 +03:00
Artur Filatenkov
9b9982ee3d
correct test with deleting files after usage
2021-08-04 12:53:41 +03:00
Vladimir C
d9c9422a44
Merge pull request #27078 from vdimir/pmj-empty-set
2021-08-04 11:15:46 +03:00
zhangxiao871
6a5925b6ce
Fix CURR_DATABASE empty for 01034_move_partition_from_table_zookeeper.sh
2021-08-04 11:07:39 +08:00
alexey-milovidov
63b90bec6c
Merge pull request #27131 from kitaisreal/global-subqueries-visitor-external-storage-check-fix
...
GlobalSubqueriesVisitor external storage check fix
2021-08-04 03:11:56 +03:00
kssenii
cc2c1b80df
Fix tests
2021-08-03 19:47:59 +00:00
Anton Popov
699a3d9031
implement legacy_column_name_of_tuple_literal in less intrusive way
2021-08-03 21:03:24 +03:00
Ilya Yatsishin
30851aee23
Merge pull request #27093 from amosbird/hostnametest
...
Normalize hostname in stateless tests
2021-08-03 17:58:28 +03:00
Vladimir C
1ebde0278e
Merge pull request #26957 from vdimir/fix-unknown-name-join-rewrite
2021-08-03 17:10:08 +03:00
Artur
f4a59a6abf
correct tests
2021-08-03 13:41:58 +00:00
Maksim Kita
8d061390f3
Updated performance tests
2021-08-03 16:19:56 +03:00
Artur
5c6974736d
add newline
2021-08-03 12:52:46 +00:00
Raúl Marín
aad913291d
test_distributed_directory_monitor_split_batch_on_failure: Track everything
...
Reverting the memory reduction and forcing max_untracked_memory to 0
which should be more reliable and closer to the original test
2021-08-03 14:38:59 +02:00
Artur
f4275b952e
add simple test
2021-08-03 12:31:38 +00:00
mergify[bot]
dc57254982
Merge branch 'master' into improve_create_or_replace
2021-08-03 11:39:07 +00:00
Maksim Kita
0dc7da92b4
Added test
2021-08-03 14:24:21 +03:00
Maksim Kita
d9383270f6
Merge pull request #27054 from MaxWk/feature/add-default-database-to-system-users
...
add column default_database to system.users
2021-08-03 13:37:15 +03:00
zhangxiao871
3d3b1658c5
Fix clickhouse-keeper create znode exists and empty condition.
2021-08-03 17:59:08 +08:00
Amos Bird
4f7e007d35
Specialize date time comparision.
2021-08-03 16:49:39 +08:00
Azat Khuzhin
97851bde08
Fix Distributed over Distributed for WithMergeableStateAfterAggregation* stages
...
In case if one Distributed has multiple shards, and underlying
Distributed has only one, there can be the case when the query will be
tried to process from Complete to WithMergeableStateAfterAggregation,
which is obviously wrong.
2021-08-03 10:10:08 +03:00
Amos Bird
b541b5eca3
Normalize hostname in CI
2021-08-03 15:00:57 +08:00
Kseniia Sumarokova
98326ec028
Merge pull request #19526 from taiyang-li/disk_reload
...
Enable local disk config reload
2021-08-03 08:37:39 +03:00
Kseniia Sumarokova
5d3abc14c7
Merge pull request #22045 from OmarBazaraa/mongo-ssl
...
Support SSL connection in MongoDB engine
2021-08-03 08:29:34 +03:00
tavplubix
58b50bad3a
Merge pull request #27033 from ClickHouse/database_replicated_fixes
...
Fix assertions in Replicated database
2021-08-02 23:33:18 +03:00
Nikita Mikhaylov
771bd6be11
Merge pull request #27092 from Algunenano/clear_dns_test
...
Stateless tests: Keep an DNS error free log
2021-08-02 21:44:15 +03:00
Azat Khuzhin
ff12f5102a
Avoid running LIMIT BY/DISTINCT step on the initiator for optimize_distributed_group_by_sharding_key
...
Before the following queries was running LimitBy/Distinct step on the
initator:
select distinct sharding_key from dist order by k
While this can be omitted.
2021-08-02 21:04:30 +03:00
Azat Khuzhin
c830964240
Cover distributed_push_down_limit for queries w/o sharding expr
2021-08-02 21:04:30 +03:00
Azat Khuzhin
2fb95d9ee0
Rework SELECT from Distributed query stages optimization
...
Before this patch it wasn't possible to optimize simple SELECT * FROM
dist ORDER BY (w/o GROUP BY and DISTINCT) to more optimal stage
(QueryProcessingStage::WithMergeableStateAfterAggregationAndLimit),
since that code was under
allow_nondeterministic_optimize_skip_unused_shards, rework it and make
it possible.
Also now distributed_push_down_limit is respected for
optimize_distributed_group_by_sharding_key.
Next step will be to enable distributed_push_down_limit by default.
v2: fix detection of aggregates
2021-08-02 21:04:29 +03:00
kssenii
087ddeb0dc
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into taiyang-li-disk-reload
2021-08-02 15:16:09 +00:00
Nikolai Kochetov
d63a5e1c96
Merge pull request #26675 from Algunenano/kill_better
...
Handle KILL requests while running pipeline executors
2021-08-02 17:37:54 +03:00
Raúl Marín
9f32ecca89
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-08-02 16:21:10 +02:00
kssenii
294695bb7d
Review fixes
2021-08-02 13:40:58 +00:00
Raúl Marín
d5a5ba8f0d
Stateless tests: Keep an DNS error free log
2021-08-02 15:19:40 +02:00
Alexander Tokmakov
42a8bb6872
fix assertions in Replicated database
2021-08-02 16:19:11 +03:00
Anton Ivashkin
740c169396
Fix test_merge_tree_s3_failover with debug build
2021-08-02 16:08:27 +03:00
vdimir
5d2aec78c3
Add testcase for multiple joins and unknwon identifier in where section
2021-08-02 15:08:14 +03:00
vdimir
7364f35da6
Add alwaysReturnsEmptySet for Merge Join
2021-08-02 13:49:56 +03:00
Nikolai Kochetov
6951e8147d
Merge pull request #27020 from amosbird/shardlevelconstness
...
Shard-level const column
2021-08-02 13:45:20 +03:00
Alexander Kuzmenkov
44e3b76c3a
Merge branch 'master' into mappopulateseries_for_maps
2021-08-02 13:02:22 +03:00
Maksim Kita
1f1795a305
Merge pull request #26978 from Algunenano/improve_executable_dictionary
...
01674_executable_dictionary_implicit_key: executable_dictionary: Use printf
2021-08-02 12:54:08 +03:00
alesapin
181f93c60a
Merge pull request #24997 from evillique/nlp
...
NLP functions
2021-08-02 10:50:40 +03:00
kssenii
5f5bbc1fca
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into taiyang-li-disk-reload
2021-08-02 07:20:14 +00:00
万康
15f4ff9d6e
skip parallel test
2021-08-02 08:29:28 +08:00
Anton Popov
cc3ed12ed6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-08-02 02:56:00 +03:00
kssenii
2bdb97d5e0
Some small changes
2021-08-01 10:06:48 +00:00
kssenii
9c6a8b0059
Restore previous ids passing
2021-08-01 08:59:19 +00:00
kssenii
130253e3b9
Fix bridge-server interaction in case of metadata inconsistency
2021-08-01 08:59:16 +00:00
alexey-milovidov
d9f55a3f31
Merge pull request #27040 from vzakaznikov/reenable_testflows_rbac
...
Moving to TestFlows 1.7.20 that has native support for parallel tests.
2021-08-01 10:57:09 +03:00
万康
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
Ildus Kurbangaliev
a4e9a56e8e
Make changes by review on #26663 PR
2021-07-30 20:57:32 +02: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
Raúl Marín
4a09c54a04
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-07-28 10:38:47 +02: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
Maksim Kita
3a6b37691a
Compile aggregate functions without key
2021-07-27 19:50:57 +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
Raúl Marín
772cc1910a
test_distributed_directory_monitor_split_batch_on_failure: Lower memory limit
...
With the changes, when running under the sanitizers, some of the internala arenas do not reach
the threshold to move from the stack to the heap, so the allocations aren't accounted
and the limit won't be reached
Testing with a lower limit to confirm it's enough to throw in remote queries
but not locally
2021-07-27 16:29:34 +02:00
Raúl Marín
145699d0c2
test_kafka_no_holes_when_write_suffix_failed: Fix expected error message
...
The old error message was incorrect (it said a failure happened when
pushing the prefix when it was happening while pushing the suffix.
2021-07-27 16:29:34 +02:00
Raúl Marín
ff249a14af
Fix test_kafka_no_holes_when_write_suffix_failed
2021-07-27 16:29:34 +02:00
Raúl Marín
db0cdd696f
Dependent views: Report progress
2021-07-27 16:29:34 +02:00
Raúl Marín
0d7d8320f9
Avoid using :: to cast
...
There is an issue with the ANTRL parser, reported
https://github.com/ClickHouse/ClickHouse/issues/25855
2021-07-27 16:29:34 +02:00
Raúl Marín
97823600e3
Rename tests after rebase
2021-07-27 16:29:34 +02:00
Raúl Marín
43a96c67a5
Add test to check behaviour on exceptions
2021-07-27 16:29:34 +02:00
Raúl Marín
eebb0c6c72
Stop testing static uuids
...
Complicates things in CI and breaks parallel tests
2021-07-27 16:29:34 +02:00
Raúl Marín
22d1ed472d
Fix unrelated shellcheck warning
2021-07-27 16:29:34 +02:00
Raúl Marín
06b56b6dc7
MV min_insert_block_size_rows: Only test for exceptions
...
With the changes in the previous commit, we try to finish any materialized
view that was started before an exception was thrown
2021-07-27 16:29:33 +02:00
Raúl Marín
69577a782f
Views: Once started, finish all concurrent views before throwing
...
Since sequential processing executes things in phases too, try to finish
all (non errored out) views before throwing any exception
2021-07-27 16:29:33 +02:00
Raúl Marín
70b7bb4eaa
Refresh table acecss information before the final query_log
...
Table access should show the tables used by joins in dependent views
2021-07-27 16:29:33 +02:00
Raúl Marín
f0125262b7
Add views and it's tables to system.query_log
2021-07-27 16:29:33 +02:00
Raúl Marín
14e8029e01
Initial basic tests and change name to not include uuid
2021-07-27 16:29:33 +02:00
Raúl Marín
891e9ba3c8
rbac: Check access to query_views_log too
2021-07-27 16:29:33 +02: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
mergify[bot]
044be267d6
Merge branch 'master' into improve_create_or_replace
2021-07-26 08:38:48 +00:00
tavplubix
b428d282e0
Update arcadia_skip_list.txt
2021-07-26 11:38:30 +03:00
Vitaly Baranov
4862e9f80d
Merge pull request #26733 from vitlibar/support-multiple-keys
...
Support multiple keys for encrypted disk
2021-07-26 10:19:50 +03:00
Vitaly Baranov
5a55cf3437
Merge pull request #26780 from vitlibar/new-function-current-roles
...
Add new functions currentRoles(), enabledRoles(), defaultRoles().
2021-07-26 10:01:45 +03:00
Alexey Milovidov
7a9588bf0e
Fix for Beirut
2021-07-26 09:47:34 +03:00
Alexey Milovidov
aa40f9d35a
Fix test
2021-07-26 09:36:49 +03:00
Alexey Milovidov
b42089da83
Fix test
2021-07-26 07:03:38 +03:00
alexey-milovidov
eb3b4ebf80
Disable RBAC Testflows (3rd-party optional tests) that are unreliable.
2021-07-26 06:48:28 +03:00
Alexey Milovidov
f695eda25d
Fix test
2021-07-26 06:27:39 +03:00
alexey-milovidov
55af4c6b1b
Merge pull request #26747 from vzakaznikov/reenable_testflows_rbac
...
Enabling RBAC TestFlows tests and crossing out new fails.
2021-07-25 22:38:53 +03:00
Alexey Milovidov
53b17c316b
Add another test for heredoc
2021-07-25 22:18:42 +03:00
Maksim Kita
6faa95fed0
Updated test
2021-07-25 22:11:27 +03:00
Maksim Kita
197bda1ff1
Heredoc updated tests
2021-07-25 22:01:25 +03:00
Alexey Milovidov
650cbd2484
GraphiteMergeTree: respect timezone for rounding #5098
2021-07-25 04:27:40 +03:00
Alexey Milovidov
7a157cb2b6
Fix a couple of tests
2021-07-25 01:58:31 +03:00
Alexey Milovidov
5460035176
Fix test
2021-07-25 01:55:23 +03:00
alexey-milovidov
22fa1efacb
Merge pull request #26777 from ClickHouse/bolonini-read-from-file
...
Merging #25960 (Bolonini/read_from_file)
2021-07-25 01:33:34 +03:00
Alexey Milovidov
1c432d505a
Fix style
2021-07-25 01:25:48 +03:00
Vitaly Baranov
51f882d8cc
Support multiple keys for encrypted disk. Display error message if the key is probably wrong.
2021-07-24 23:45:12 +03:00
Vitaly Baranov
22728cbca0
Add new functions currentRoles(), enabledRoles(), defaultRoles().
2021-07-24 23:20:40 +03:00
Vitaly Baranov
7b4e5f8e21
Merge pull request #26759 from vitlibar/changing-default-roles-affects-new-sessions
...
Changing default roles affects new sessions only.
2021-07-24 23:15:14 +03:00
alexey-milovidov
ec949e4c66
Merge pull request #26607 from azat/bench-round-robin
...
Add round-robin support for clickhouse-benchmark
2021-07-24 20:17:35 +03:00
Alexey Milovidov
774f6d2617
Allow to read file descriptor multiple times in File storage
2021-07-24 19:50:03 +03:00
Alexey Milovidov
456801ccb8
Merge branch 'pipe_reading' of github.com:BoloniniD/ClickHouse into bolonini-read-from-file
2021-07-24 19:24:22 +03:00
alexey-milovidov
adb92c1b70
Merge pull request #26656 from azat/bench-hang-on-EMFILE-fix
...
Avoid hanging clickhouse-benchmark if connection fails (i.e. on EMFILE)
2021-07-24 19:02:46 +03:00
mergify[bot]
b39b130b97
Merge branch 'master' into reenable_testflows_rbac
2021-07-24 15:58:47 +00:00
alexey-milovidov
fa6b22e3f5
Merge pull request #26715 from Algunenano/fix_hostname_test
...
01946_test_wrong_host_name_access: Clear DNS in the end
2021-07-24 18:56:22 +03:00
alexey-milovidov
0318a089a0
Merge pull request #26740 from Cas-pian/grant_by_replace
...
remove uncessary Exception
2021-07-24 18:54:11 +03:00
alexey-milovidov
967fe89917
Merge pull request #26730 from vitlibar/set-profile-applies-constraints-too
...
SET PROFILE applies constraints too.
2021-07-24 18:53:36 +03:00
Alexey Milovidov
ccde0211dc
Update test
2021-07-24 18:45:33 +03:00
Alexey Milovidov
4d7434f16d
Fix test
2021-07-24 18:40:22 +03:00
Alexey Milovidov
db43bb1b44
Fix parquet test
2021-07-24 18:12:39 +03:00
Alexey Milovidov
83ff27e455
Update parquet test
2021-07-24 17:41:13 +03:00
Alexey Milovidov
d6c1593b22
Correct read of Date and UInt16 as DateTime in Arrow format
2021-07-24 17:36:21 +03:00
alexey-milovidov
039bb1cc5e
Merge pull request #26720 from azat/part_log-fix-event_time_microseconds
...
Fix event_time_microseconds for REMOVE_PART in system.part_log
2021-07-24 15:09:37 +03:00
Alexey Milovidov
f56269243e
Merge branch 'master' into random_timezone_for_stateless_tests
2021-07-24 13:55:21 +03:00
Alexey Milovidov
cbb686733c
Fix ambiguous columns in test
2021-07-24 04:14:45 +03:00
Alexey Milovidov
ff0129d801
Merge branch 'master' into fix-bad-cast
2021-07-24 03:58:34 +03:00
BoloniniD
07c57edbfc
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-23 23:39:38 +03:00
Vitaly Baranov
249ccd879e
SET PROFILE applies constraints too.
2021-07-23 23:28:55 +03:00
Vitaly Baranov
db97921b5b
Changing default roles affects new sessions only.
2021-07-23 23:23:14 +03:00
Vitaly Baranov
c68c74634d
Merge pull request #26707 from vitlibar/fix-set-role
...
Fix SET ROLE
2021-07-23 23:16:15 +03:00
Vitaliy Zakaznikov
1b5f697480
Enabling RBAC TestFlows tests and crossing out new fails.
2021-07-23 12:09:18 -04:00
Vitaliy Zakaznikov
1dfa347e20
Update error message in tests/testflows/window_functions/tests/errors.py
2021-07-23 10:59:05 -04:00
Caspian
e724e972fe
remove uncessary Exception
2021-07-23 21:37:55 +08:00
Maksim Kita
f6f8bea689
Merge pull request #26671 from kitaisreal/mysql-dictionaries-support-for-custom-query
...
Lexer introduce heredoc
2021-07-23 16:20:54 +03:00
Vitaly Baranov
67d4da224a
Merge pull request #26384 from Cas-pian/grant_by_replace
...
add grant by replace support
2021-07-23 14:40:47 +03:00
Raúl Marín
383c982715
CH local: Treat localhost:port as a remote database
2021-07-23 13:16:35 +02:00
Vladimir
817ed354ff
Merge pull request #26673 from vdimir/fix_test_materialize_mysql_database
2021-07-23 11:26:19 +03:00
Maksim Kita
7e08748c5b
Updated tests
2021-07-23 11:13:51 +03:00
Vitaly Baranov
19d5a6ab2f
Merge pull request #26714 from vitlibar/new-function-current-profiles
...
New functions currentProfiles(), enabledProfiles(), defaultProfiles().
2021-07-23 09:10:29 +03:00
Alexey Milovidov
4bbbf58f3e
Fix test
2021-07-23 03:34:49 +03:00
Alexey Milovidov
de90314373
Fix some tests
2021-07-23 02:37:38 +03:00
Azat Khuzhin
00e2083421
Fix event_time_microseconds for REMOVE_PART in system.part_log
2021-07-23 00:59:08 +03:00
Maksim Kita
222915c275
Fixed code review issues
2021-07-23 00:07:22 +03:00
Alexey Milovidov
cecf03f4cb
Merge branch 'master' into fix-bad-cast
2021-07-23 00:06:29 +03:00
Vitaly Baranov
7afcc65060
Add new functions currentProfiles(), enabledProfiles(), defaultProfiles().
2021-07-22 22:20:53 +03:00
Nikolai Kochetov
3c17a62686
Merge pull request #26590 from ClickHouse/remove-some-more-streams
...
Remove some streams.
2021-07-22 21:28:50 +03:00
ryzuo
4d36d54c81
Update the implementaion of nth_value
...
Make nth_value for nullable values for out of frame rows, as the same
fashion as lagInFrame just does.
2021-07-23 00:34:08 +08:00
Raúl Marín
cb50fd9521
01946_test_wrong_host_name_access: Clear DNS in the end
...
Leaves a better env and avoids future errors in the logs
2021-07-22 18:21:17 +02:00
alexey-milovidov
3f5016a617
Merge pull request #26410 from mathalex/master
...
Add queryID and initialQueryID functions
2021-07-22 18:28:38 +03:00
Vitaly Baranov
d0412994a2
Fix SET ROLE.
2021-07-22 17:41:52 +03:00
Vladimir
ecebd5c132
Merge pull request #26691 from vdimir/fix-ci-runner-listing-error
2021-07-22 15:43:06 +03:00
alexey-milovidov
e83ca20ac3
Merge pull request #26684 from ClickHouse/fix-flaky-test-24
...
Fix flaky test `mutation_stuck_after_replace_partition`
2021-07-22 15:37:38 +03:00
alexey-milovidov
c3206f6c85
Merge pull request #26470 from ClickHouse/fix-flaky-test-20
...
Fix flaky test `distributed_ddl_output_mode`
2021-07-22 15:32:22 +03:00
vdimir
45233666b6
Relax filter for information_schema.processlist in mysql_kill_sync_thread_restore_test
2021-07-22 14:05:23 +03:00
Alexander Kuzmenkov
60ca9990e5
Merge pull request #26668 from ClickHouse/aku/window-materialize
...
materialize all columns in window transform
2021-07-22 13:42:36 +03:00
vdimir
f61ecee989
Remove tests/integration/test_foo
2021-07-22 13:33:43 +03:00
vdimir
d1b6274deb
Strip lines in runner output in _get_all_tests
2021-07-22 13:33:05 +03:00
vdimir
a8f986350c
Log errors on integration test listing error in ci-runner
2021-07-22 12:31:15 +03:00
Nikolai Kochetov
5ffd99dfd4
Merge pull request #25674 from amosbird/distributedreturnconnection
...
Drain connection asynchronously
2021-07-22 11:04:49 +03:00
Azat Khuzhin
dac13793e7
Disable 01955_clickhouse_benchmark_connection_hang under UBsan
...
UBsan does not works reliable when the RLIMIT_NOFILE exceeded.
2021-07-22 10:09:37 +03:00
Azat Khuzhin
3f0dd40c69
Avoid hanging clickhouse-benchmark if connection fails (i.e. on EMFILE)
2021-07-22 10:08:49 +03:00
ryzuo
94d4fb9dfc
Cleanup the incomplete fix of nullability return value of lagInFrame/leadInFrame
2021-07-22 10:37:29 +08:00
ryzuo
df9ec5655c
Add missing test back in 01591_window_function
2021-07-22 10:30:10 +08:00
ryzuo
fd0c016423
Make tests of nth_value pass
2021-07-22 10:22:24 +08:00
ryzuo
4eb053a303
Implementaion of window function nth_value.
...
1. Implemented the window function nth_value
2. Make the return type of lag/lead, and nth_value functions to be
ColumnNullable, thus the returned value can be null if it is out
of frame.
2021-07-22 10:19:19 +08:00
Alexey Milovidov
ba06e8ccd0
Fix flaky test mutation_stuck_after_replace_partition
2021-07-22 03:39:23 +03:00
Alexey Milovidov
ed341b64e4
Disable parallel formatting
2021-07-22 03:24:35 +03:00
alexey-milovidov
2796aa333f
Merge pull request #26618 from ClickHouse/fix-flaky-test-22
...
Fix flaky test 01509_check_many_parallel_quorum_inserts
2021-07-22 02:58:07 +03:00
alexey-milovidov
f9581893d8
Merge pull request #26658 from azat/skip_unavailable_shards-excessive-attempts
...
Fix excessive connect attempts with skip_unavailable_shards
2021-07-22 02:12:32 +03:00
Vladimir
576b407804
Support conditions in JOIN ON section ( #24420 )
...
* Try to enforce table identification in CollectJoinOnKeysMatcher
* Support filtering conditions in JOIN ON for HashJoin
* Correct handle non equi join
* Update test 00878_join_unexpected_results
* Join on filters calculated as one row before join
* Do not lookup key in hash join if condition for row is not hold
* better
* Support filtering conditions in JOIN ON for MergeJoin
* Support Nullable mask in JOIN ON section
* Fix style in Interpreters/TableJoin.cpp
* Change return type of getColumnAsMask in join_common to ColumnPtr
* Handle Nullable(Nothing) type in JOIN ON section, add test cases
* Fix type cast JoinCommon::getColumnAsMask
* Check type if conditions in JOIN ON section, support functions
* Update tests with JOIN ON
* Style changes, add comments for conditions in JOIN ON section
* Add test cases for join on condtions
* JOIN ON key1 = key2 AND (cond1 OR cond2)
* Remove CollectJoinOnKeysVisitor has_join_keys
* Add test cases for join on nullable/lc conditions
* Fix style
* Change error code 48 to 403 in join on tests
* Fix whitespace
2021-07-21 20:03:33 +03:00
vdimir
1d0ceff2dc
Fix mysql_kill_sync_thread_restore_test
2021-07-21 18:17:45 +03:00
Caspian
eab4cb3cdc
use new syntax, update docs
2021-07-21 23:08:38 +08:00
Maksim Kita
49983883cc
Added tests
2021-07-21 16:41:45 +03:00
Alexander Kuzmenkov
7f0fec6d5d
materialize all columns in window transform
2021-07-21 16:06:50 +03:00
alexey-milovidov
4b51ec3a83
Merge pull request #26619 from ClickHouse/fix-flaky-test-23
...
Fix one possible cause of tests flakiness
2021-07-21 15:24:30 +03:00
Nikolai Kochetov
65d3e713d6
Fix another one test.
2021-07-21 15:16:13 +03:00
Alexey Boykov
925e2a6a22
Merge branch 'ClickHouse:master' into master
2021-07-21 14:54:17 +03:00
Alexey Boykov
4ec811d1fd
Revert "Revert "Merge branch 'master' into master""
...
This reverts commit 28279e13f2
.
2021-07-21 14:16:05 +03:00
Alexey Boykov
28279e13f2
Revert "Merge branch 'master' into master"
...
This reverts commit 0543736da1
, reversing
changes made to e8e34ba786
.
2021-07-21 14:11:13 +03:00
Alexander Kuzmenkov
6ae4031723
Merge pull request #26521 from ClickHouse/aku/lag-in-frame-nullable
...
fix lagInFrame for nullable types
2021-07-21 14:10:16 +03:00
Ildus Kurbangaliev
d6fe824340
Add Map type support in mapPopulateSeries
2021-07-21 09:23:14 +02:00
Azat Khuzhin
7b7e8acf4f
Fix excessive connect attempts with skip_unavailable_shards
...
Before this patch the query was sent from
RemoteBlockInputStream::readPrefix() and also from
RemoteBlockInputStream::read().
And since in case of skip_unavailable_shards=1 connection errors are
ignored, it tries to do x2 connect attempts.
Fix this, but removing RemoteBlockInputStream::readPrefix().
Fixes : #26511
2021-07-21 10:06:54 +03:00
Azat Khuzhin
6c83aa50f5
Cover clickhouse-benchmark --roundrobin
2021-07-21 08:52:06 +03:00
Alexey Milovidov
09449cc101
Whitespaces
2021-07-21 04:47:56 +03:00
Alexey Milovidov
b99cbd9181
Add a test
2021-07-21 04:45:57 +03:00
Alexey Milovidov
f62fc8c43d
Fix another cause of flakiness
2021-07-21 04:05:56 +03:00
Alexey Milovidov
d815023700
Fix one source of flaky tests
2021-07-21 03:58:01 +03:00
Alexey Milovidov
17ce71ce3d
Fix flaky test 01509_check_many_parallel_quorum_inserts
2021-07-21 03:38:55 +03:00
Alexey Milovidov
f9234f74aa
Fix flaky test 01622_defaults_for_url_engine
2021-07-21 02:28:00 +03:00
alexey-milovidov
fcca3e3e56
Merge pull request #26423 from ClickHouse/fix-header-for-scalar-query-with-empty-result
...
Fix incompatible result type for scalar queries with empty result.
2021-07-21 02:07:04 +03:00
alexey-milovidov
f177898f5c
Merge pull request #26499 from arenadata/ADQM-326
...
SELECT String from ClickHouse as Avro string - PartialMatch
2021-07-21 02:04:04 +03:00
alexey-milovidov
0304cf2041
Merge pull request #26557 from amosbird/groupbitmaporfix
...
Fix wrong name of groupBitmapAnd/Or/Xor.
2021-07-21 02:02:39 +03:00
Alexander Kuzmenkov
a197511a96
fixes
2021-07-21 01:36:15 +03:00
Alexey Milovidov
8a37bbc217
Fix flaky test, one more attempt
2021-07-21 01:27:27 +03:00
Alexey Milovidov
4a0ec010af
Merge remote-tracking branch 'origin/master' into fix-flaky-test-20
2021-07-20 21:47:22 +03:00
Alexey Milovidov
9995c6d745
Another attempt
2021-07-20 21:46:41 +03:00
alexey-milovidov
772b18db8a
Merge pull request #26579 from vdimir/test-jinja-templates
...
Support jinja templates for sql files in clickhouse-test
2021-07-20 21:13:44 +03:00
Nikita Mikhaylov
348a3abb0b
Merge pull request #26508 from kitaisreal/storage-dictionary-quoted-names-fix
...
Storage Dictionary quoted names fix
2021-07-20 19:35:48 +03:00
vdimir
1b5de5de0d
Fix style in clickhouse-test removesuffix
2021-07-20 17:51:22 +03:00
vdimir
8429f64030
Log skipped test if no jinja2
2021-07-20 17:49:20 +03:00
alexey-milovidov
3bcef76a9d
Merge pull request #26529 from kssenii/fixing-rabbitmq
...
Fix rabbitmq shutdown in case rabbitmq setup was not started
2021-07-20 16:41:25 +03:00
vdimir
a170af9b49
Rewrite couple of tests to jinja templates
2021-07-20 16:41:24 +03:00
vdimir
6f8561c084
Support jijna templates for sql files in clickhouse-test
2021-07-20 16:40:04 +03:00
Alexey Boykov
0543736da1
Merge branch 'master' into master
2021-07-20 16:22:32 +03:00
Alexey Boykov
e8e34ba786
compatibility with remote
2021-07-20 16:10:55 +03:00
Amos Bird
9fdae29421
Fix groupBitmapAnd/Or/Xor name
2021-07-20 20:55:18 +08:00
Nikolai Kochetov
fa8c9e3264
Fix another one test.
2021-07-20 15:35:42 +03:00
Nikita Mikhaylov
47c1bb3416
Merge pull request #25822 from ClickHouse/fix_no_column_materialized_mysql
...
Fix 'Not found column' error in MaterializeMySQL
2021-07-20 15:03:54 +03:00
Nikita Mikhaylov
4d3f828beb
Merge pull request #26314 from kssenii/fix-hdfs-crash
...
Fix hdfs crash
2021-07-20 15:01:56 +03:00
Caspian
7c6dc56bcd
Merge branch 'master' into grant_by_replace
2021-07-20 17:41:12 +08:00
Maksim Kita
9b53f4f2b3
Storage Dictionary quoted names fix
2021-07-20 11:35:10 +03:00
caspian
f3a073e22e
fix tests
2021-07-20 15:49:56 +08:00
Alexey Milovidov
72a76d34f5
Merge remote-tracking branch 'origin/master' into fix-flaky-test-20
2021-07-20 01:00:25 +03:00
Alexey Milovidov
909a50e648
Fix flaky test
2021-07-20 00:58:48 +03:00
kssenii
63c05e6e14
Fix rabbitmq shutdown in case rabbitmq setup was not started
2021-07-19 21:06:10 +00:00
Alexander Kuzmenkov
61a01782a6
fix lagInFrame for nullable types
2021-07-19 19:31:57 +03:00
Amos Bird
dbfb699690
Asynchronously drain connections.
2021-07-19 21:53:29 +08:00
Caspian
c2c7196cc8
update tests
2021-07-19 21:15:55 +08:00
Nikolai Kochetov
7a24e72e76
Merge branch 'master' into fix-header-for-scalar-query-with-empty-result
2021-07-19 15:48:44 +03:00
Nikolai Kochetov
72f31af3b2
Review fixes.
2021-07-19 15:43:31 +03:00
Nikolai Kochetov
96e20e2641
Fix some tests.
2021-07-19 15:35:55 +03:00
mergify[bot]
39f71f4a08
Merge branch 'master' into fix_no_column_materialized_mysql
2021-07-19 12:27:38 +00:00
Ilya Golshtein
8204516882
SELECT String from ClickHouse as Avro string - PartialMatch
2021-07-19 13:45:24 +03:00
Yatsishin Ilya
cdc8f2f743
fix new test
2021-07-19 11:32:20 +03:00
Yatsishin Ilya
2ae7d72dc9
merge remote-tracking branch 'origin' into integration-6
2021-07-19 09:49:17 +03:00
Vitaly Baranov
1fc822b19d
Merge pull request #26465 from vitlibar/explicit-encryption-mode
...
Set encryption algorithm explicitly.
2021-07-19 09:38:02 +03:00
Maksim Kita
0be89e838d
Merge pull request #26475 from amosbird/fixaliascolumn
...
Fix column alias rewriting
2021-07-18 23:53:01 +03:00
Alexey Milovidov
348e8bf262
Fix test
2021-07-18 23:32:05 +03:00
Alexey Milovidov
ab9c50143a
Fix tests
2021-07-18 23:28:18 +03:00
Kseniia Sumarokova
b0ddc4fb30
Merge pull request #26364 from kssenii/fixing-date32
...
Continuation of #25774
2021-07-18 21:44:45 +03:00
Alexey Milovidov
aeeea32eb1
Fix test
2021-07-18 20:01:21 +03:00
Alexey Milovidov
e26f66f51f
Fix test
2021-07-18 18:32:34 +03:00
Alexey Milovidov
2fedbfdf65
Fix test
2021-07-18 18:30:59 +03:00
Amos Bird
d74aa64f6b
Fix column alias rewriting
2021-07-18 23:27:19 +08:00
Alexey Milovidov
009625b154
Fix tests
2021-07-18 18:18:55 +03:00
Alexey Milovidov
fb11e9de41
Fix test
2021-07-18 18:09:48 +03:00
Alexey Milovidov
fb6fe7a29d
Whitespaces
2021-07-18 18:07:32 +03:00
Alexey Milovidov
4f8a82b844
Fix test
2021-07-18 18:05:42 +03:00
Alexey Milovidov
ad4c6a63e1
Fix and improve test
2021-07-18 18:04:32 +03:00
Alexey Milovidov
4587ddaeeb
Fix test
2021-07-18 18:02:31 +03:00
Alexey Milovidov
eb134377b2
Fix tests
2021-07-18 18:01:16 +03:00
Alexey Milovidov
4a74cb7cef
Fix tests
2021-07-18 17:58:14 +03:00
Alexey Milovidov
da14f2885d
Fix test
2021-07-18 17:56:45 +03:00
Alexey Milovidov
8a92ddeb19
Fix test
2021-07-18 17:55:16 +03:00
alexey-milovidov
b52411a715
Merge pull request #12455 from amosbird/npc
...
Nullable primary key with correct KeyCondition
2021-07-18 17:52:20 +03:00
Alexey Milovidov
819d2e9cf7
Fix some tests
2021-07-18 12:16:35 +03:00
Caspian
591d583c5b
support REPLACE GRANT NONE syntax
2021-07-18 16:58:48 +08:00
Vitaly Baranov
81ea8521b1
Set encryption algorithm explicitly.
2021-07-18 10:29:42 +03:00
kssenii
9cb10aae3c
Some fixes
2021-07-18 03:43:08 +00:00
Alexey Milovidov
da94ed8a87
Merge branch 'master' into random_timezone_for_stateless_tests
2021-07-18 01:12:24 +03:00
alexey-milovidov
1d8aa729fd
Testflows (3rd party enterprise grade testing framework) is unreliable.
2021-07-18 01:07:21 +03:00
Alexey Milovidov
b7690e3fb4
Fix flaky test distributed_ddl_output_mode
2021-07-18 01:04:05 +03:00
alexey-milovidov
7dda0da027
Merge pull request #26461 from azat/integration-tests-fixes-v21.9.1.7477
...
Fix flaky test_replicated_mutations (due to lack of threads in pool)
2021-07-17 19:22:30 +03:00
alexey-milovidov
2316f42009
Merge pull request #26365 from Algunenano/set_index
...
Draft: Don't build set for indices when analyzing a query
2021-07-17 19:21:58 +03:00
BoloniniD
19b673fb3b
Style fix for error message
2021-07-17 15:30:03 +03:00
BoloniniD
f0113a79d9
Fix for flaky tests, added temporary files for data and logs
2021-07-17 13:58:40 +03:00
Alexey Milovidov
abc77ad63a
Fixup for #26131
2021-07-17 13:15:35 +03:00
alexey-milovidov
ecaf22149c
Merge pull request #26131 from fastio/estimates_for_select_query
...
Estimates for select query
2021-07-17 13:14:57 +03:00
Alexey Milovidov
f13ed405a2
Fix perf test
2021-07-17 13:11:50 +03:00
alexey-milovidov
917cdcd0bb
Merge pull request #26426 from vdimir/functions-coding-split-file
...
Split FunctionsCoding into several files
2021-07-17 13:01:50 +03:00
Azat Khuzhin
bb22615fad
Fix flaky test_replicated_mutations (number_of_free_entries_in_pool_to_execute_mutation=0)
...
CI reports [1]:
2021.07.16 09:09:21.040944 [ 172 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 18.00 GiB.
...
2021.07.16 09:09:21.041200 [ 28 ] {} <Debug> default.test_mutations (ReplicatedMergeTreeQueue): Not executing log entry queue-0000000288 of type MUTATE_PART for part 200201_3_3_0_16 because source parts size (217.00 B) is greater than the current maximum (0.00 B).
2021.07.16 09:09:21.041529 [ 171 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 18.00 GiB.
2021.07.16 09:09:21.041838 [ 34 ] {} <Debug> default.test_mutations (ReplicatedMergeTreeQueue): Not executing log entry queue-0000000288 of type MUTATE_PART for part 200201_3_3_0_16 because source parts size (217.00 B) is greater than the current maximum (0.00 B).
2021.07.16 09:09:21.042359 [ 34 ] {} <Debug> default.test_mutations (ReplicatedMergeTreeQueue): Not executing log entry queue-0000000290 of type MUTATE_PART for part 200201_12_12_0_16 because source parts size (237.00 B) is greater than the current maximum (0.00 B).
[1]: https://clickhouse-test-reports.s3.yandex.net/26336/a3653bd665bd59c7c05b0fcd58ea2246e0b69915/integration_tests_(thread).html#fail1
2021-07-17 11:50:04 +03:00
BoloniniD
2e05063298
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-17 10:30:18 +03:00
alexey-milovidov
10f3500b3b
Merge pull request #26431 from azat/tests-fixes-v21.9.1.7477
...
Tests fixes v21.9.1.7477
2021-07-17 02:51:01 +03:00
mergify[bot]
89634ae224
Merge branch 'master' into estimates_for_select_query
2021-07-16 23:15:30 +00:00
alexey-milovidov
38dfe1fc0a
Merge pull request #26172 from ClickHouse/exception_id
...
Add error id to exceptions
2021-07-17 02:07:17 +03:00
alexey-milovidov
c9a917a163
Merge pull request #26282 from FArthur-cmd/adding-system-warnings-26039
...
Show warnings
2021-07-17 01:53:57 +03:00
alexey-milovidov
bc907bd27c
Merge pull request #26336 from azat/dist-per-table-monitor-settings
...
Add ability to set Distributed directory monitor settings via CREATE TABLE
2021-07-17 01:49:40 +03:00
alexey-milovidov
1701cc429d
Merge pull request #26353 from azat/optimize_distributed_group_by_sharding_key-fix
...
Fix optimize_distributed_group_by_sharding_key for multiple columns
2021-07-17 01:45:10 +03:00
alexey-milovidov
6f13eb49c1
Merge pull request #26320 from Algunenano/profile_sleep_calls
...
Add profile events for sleep function calls
2021-07-17 01:37:23 +03:00
alexey-milovidov
c373b86743
Merge pull request #26371 from CurtizJ/improve-perf-get-columns
...
Improve performance of getting list of columns
2021-07-17 01:34:15 +03:00
alexey-milovidov
375883fe51
Merge pull request #26366 from vzakaznikov/add_testflows_modules_after_kerberos_merge
...
Enabling all TestFlows modules except LDAP after Kerberos merge.
2021-07-17 01:30:48 +03:00
alexey-milovidov
f3a5d3227a
Merge pull request #26428 from ClickHouse/fix-msan-from-22517
...
Fix msan crash from 22517
2021-07-17 01:11:55 +03:00
alexey-milovidov
ccf9d2fd7f
Merge pull request #26425 from ClickHouse/fix-flaky-test-19
...
Relax condition in flaky test
2021-07-17 01:07:51 +03:00
Azat Khuzhin
41329a59e8
Fix 01455_shard_leaf_max_rows_bytes_to_read (set prefer_localhost_replica=0)
2021-07-16 23:15:30 +03:00
Azat Khuzhin
6d786f9734
Rewrite 01882_total_rows_approx using http interface w/o system.processes
2021-07-16 23:12:37 +03:00
Kseniia Sumarokova
e844cec16f
Merge branch 'master' into fix-hdfs-crash
2021-07-16 22:21:30 +03:00
Vitaly Baranov
958494b98e
Merge pull request #26377 from vitlibar/encrypted-disk-comments-and-improvements
...
Add comments for encrypted disks; some improvements in code.
2021-07-16 21:24:51 +03:00
Caspian
636dcb0e9c
rename test files
2021-07-17 00:09:36 +08:00
Nikolai Kochetov
1c1cc22a06
Fix msan crash from #22517 .
2021-07-16 17:22:26 +03:00
Anton Popov
c45a9e3bd6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-07-16 17:11:34 +03:00
Alexey Milovidov
dc884de1a3
Relax condition in flaky test
2021-07-16 16:58:02 +03:00
Nikolai Kochetov
d996d0bae9
Fix incompatible result type for scalar queries with empty result.
2021-07-16 16:38:35 +03:00
mergify[bot]
126a2d7ad1
Merge branch 'master' into dist-per-table-monitor-settings
2021-07-16 13:32:40 +00:00
BoloniniD
fcbfa27f33
Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading
2021-07-16 16:28:26 +03:00
Yatsishin Ilya
d11ec777c9
Merge remote-tracking branch 'origin' into integration-6
2021-07-16 16:28:02 +03:00
Yatsishin Ilya
e6b724ad3f
postgres rework
2021-07-16 16:26:35 +03:00
Alexey Boykov
83e581244c
add current_database in tests
2021-07-16 16:18:18 +03:00
vdimir
4cf2e33647
Use registerAlias for mysql comatibility of ntoa/aton functions
2021-07-16 16:18:06 +03:00
alexey-milovidov
181f20cfe1
Merge pull request #26368 from ianton-ru/fix_dns_exception
...
Catch Poco exception in resolveIPAddressImpl
2021-07-16 16:04:55 +03:00
Filatenkov Artur
848f595e97
Update 01526_client_start_and_exit.expect-not-a-test-case
...
fix no matching with reference
2021-07-16 14:59:39 +03:00
Alexey Boykov
8026ed5ee9
Adding query_id functions and tests
2021-07-16 14:47:17 +03:00
Artur
0373f2f6d0
correct expect files to avoid freezing
2021-07-16 09:57:28 +00:00
alexey-milovidov
72ed5e0dfb
Merge pull request #26031 from nvartolomei/nv/test-cte-distributed
...
Test CTE with aggregation over distributed table
2021-07-16 12:24:29 +03:00
alexey-milovidov
4103c22310
Merge pull request #26245 from arenadata/ADQM-322
...
Avro string for ClickHouse String
2021-07-16 12:23:50 +03:00
caspian
25d1d9c2b4
update tests
2021-07-16 17:05:57 +08:00
Vitaly Baranov
9cc258327e
Add comments for encrypted disks; some improvements in code.
2021-07-16 12:04:25 +03:00
Anton Ivashkin
4dfd6ddcdb
Catch Poco exception in resolveIPAddressImpl
2021-07-16 10:47:44 +03:00
BoloniniD
bab7681bc1
Fix test number and some fixes in reference
2021-07-16 10:22:37 +03:00
Vladimir
c8ead44c23
Merge pull request #26374 from vdimir/infinite-pmj-fix
2021-07-16 09:50:44 +03:00
Vitaly Baranov
427813071d
Merge pull request #26363 from vitlibar/fix-crash-login-as-dropped-user
...
Fix possible crash when login as dropped user
2021-07-16 09:47:35 +03:00
caspian
08101af4fd
add tests
2021-07-16 11:21:50 +08:00
Azat Khuzhin
e2d8ba893a
Fix 01460_DistributedFilesToInsert (correctly set dist table settings)
2021-07-16 04:10:47 +03:00
Azat Khuzhin
df5a26738d
Fix 01040_distributed_directory_monitor_batch_inserts by properly set batch mode
2021-07-16 04:10:47 +03:00
alexey-milovidov
c03dd8d923
Merge pull request #26362 from ClickHouse/fix-integration-test-3
...
Fix flaky integration test about "replicated max parallel fetches".
2021-07-15 21:28:25 +03:00
vdimir
cf77a3e05a
Fix infine non joined block stream in merge join
2021-07-15 18:22:46 +03:00
Artur
de004d7afb
wrong reference name
2021-07-15 15:13:23 +00:00