alexey-milovidov
da803b56c1
Merge pull request #27380 from amosbird/logformattedquery
...
Add setting to log formatted query into system.query_log
2021-08-08 04:09:19 +03:00
alexey-milovidov
6811eb5e39
Merge pull request #27214 from azat/tests-replicated-database-macro
...
Allow parallel execution of *.sql tests with ReplicatedMergeTree (by using {database} macro)
2021-08-08 04:05:59 +03:00
Alexey Milovidov
24cef99065
Merge branch 'master' into fix-bad-cast
2021-08-08 04:00:29 +03:00
alexey-milovidov
c5207fc237
Merge pull request #26466 from azat/optimize-dist-select
...
Rework SELECT from Distributed optimizations
2021-08-08 03:59:32 +03:00
Azat Khuzhin
c62de36e4c
Mark more tests as long
2021-08-08 00:55:40 +03:00
mergify[bot]
9869c8bb10
Merge branch 'master' into zero_copy_by_default
2021-08-07 16:53:44 +00:00
mergify[bot]
589505e76b
Merge branch 'master' into legacy-tuple-name
2021-08-07 16:42:20 +00:00
alexey-milovidov
4b52c37681
Merge pull request #27249 from azat/fix-WithMergeableStateAfterAggregationAndLimit
...
Fix WithMergeableStateAfterAggregationAndLimit with LIMIT BY and LIMIT OFFSET
2021-08-07 19:28:59 +03:00
alexey-milovidov
d9eab713aa
Merge pull request #27324 from Algunenano/fix_01300
...
Fix 01300_client_save_history_when_terminated_long
2021-08-07 19:27:29 +03:00
alexey-milovidov
7512b61dd9
Merge pull request #27300 from Algunenano/flaky_00738
...
Improve 00738_lock_for_inner_table stability
2021-08-07 19:25:02 +03:00
alexey-milovidov
24cc073a22
Merge pull request #27328 from ClickHouse/fix_partition_id_validation
...
Fix partition id validation
2021-08-07 18:45:19 +03:00
alexey-milovidov
fa5bcb2e30
Merge pull request #27301 from ClickHouse/fix-unknown-column-with-sampling
...
Fix unknown column with sampling
2021-08-07 18:39:19 +03:00
Nikolay Degterinsky
b5a6e18511
Small fixes
2021-08-07 15:15:49 +00:00
Azat Khuzhin
86ceaaadb9
Mark more tests as long
2021-08-07 17:40:09 +03:00
kssenii
01b4bd3f91
Fix some more tests
2021-08-07 14:28:12 +00:00
Azat Khuzhin
07e1047b4f
Mark more tests as long
2021-08-07 16:30:12 +03:00
Azat Khuzhin
08beb313e8
Mark more tests as long
2021-08-07 15:06:01 +03:00
董海镔
3dcff2124c
rename bitmapSubsetOffsetLimit to subBitmap and modify the rb_offset_limit function logic
2021-08-07 18:47:33 +08:00
kssenii
ec9e82fb0c
Fix some tests
2021-08-07 10:12:59 +00:00
Nikolay Degterinsky
bf0297ccab
Fix stateless test
2021-08-07 09:51:35 +00:00
Azat Khuzhin
8f5ecb5ed6
Mark more tests as long
2021-08-07 12:50:42 +03:00
Amos Bird
5ef59d4828
Add setting to log formatted query into system.query_log
2021-08-07 14:26:38 +08:00
Amos Bird
aa33a7add1
Add settings to check hyperscan regexp length.
2021-08-07 13:07:41 +08:00
Nikolay Degterinsky
9a45458faf
Add bzip2 file compression
2021-08-07 00:25:52 +00:00
Alexander Tokmakov
5e2bfd5ba1
fix partition id validation
2021-08-06 23:56:51 +03:00
Azat Khuzhin
1fcbd1e196
Mark more tests as long
2021-08-06 23:46:29 +03:00
Nikolai Kochetov
28c33ce7c4
Add test.
2021-08-06 21:53:22 +03:00
Nikolai Kochetov
e068ea3913
Add test.
2021-08-06 21:51:43 +03:00
alexey-milovidov
e1927118cd
Merge pull request #27181 from vdimir/issue-27169
...
Fix uninitialized memory in functions multiSearch* with empty array
2021-08-06 21:10:22 +03:00
alexey-milovidov
ef7b695057
Merge pull request #27275 from Algunenano/fix_01099
...
01099_operators_date_and_timestamp: Use dates that work with all available timezones
2021-08-06 21:06:36 +03:00
Nikolai Kochetov
157ecef3c2
Merge pull request #27227 from ClickHouse/do-not-update-settings-for-view
...
Revert #24095 . User-level settings will affect queries from view.
2021-08-06 20:57:36 +03:00
Raúl Marín
8439135960
Try to make the test faster
2021-08-06 18:28:44 +02:00
Raúl Marín
b1ff4ca81a
Fix 01176_mysql_client_interactive and work with mariadb client
2021-08-06 18:03:27 +02:00
Alexander Kuzmenkov
658ce5258f
Merge pull request #26663 from ildus/mappopulateseries_for_maps
...
Add Map type support in mapPopulateSeries function
2021-08-06 18:53:37 +03:00
Raúl Marín
28901ef55f
Fix 01300_client_save_history_when_terminated_long
...
It was broken because of colored output
2021-08-06 17:25:24 +02:00
Azat Khuzhin
1f60cd735d
Revert changes in 01710_projection_fetch
2021-08-06 17:52:23 +03:00
Artur
e00536dede
correcting test
2021-08-06 14:47:20 +00:00
Nikolai Kochetov
48eb995461
Fix unknown column bug in sampling.
2021-08-06 17:23:50 +03:00
Raúl Marín
d33a634014
Improve 00738_lock_for_inner_table stability
...
A sufficiently fast machine would finish processing the MV before the drop
2021-08-06 16:12:59 +02:00
Nikolai Kochetov
7320411a7f
Fix bug from #23515 .
2021-08-06 16:39:11 +03:00
vdimir
3ca05653bb
Use template for 01049_join_low_card_bug_long.sql
2021-08-06 15:07:50 +03:00
vdimir
d53ade572e
Fix non joined stream structure
2021-08-06 14:54:04 +03:00
Artur
985a906c57
correcting tests
2021-08-06 09:46:39 +00:00
Raúl Marín
084e3da13f
01099_operators_date_and_timestamp: Use dates that work with all available timezones
2021-08-06 11:36:52 +02:00
tavplubix
14ef66e49b
Merge pull request #25895 from ClickHouse/improve_create_or_replace
...
Improve CREATE OR REPLACE query
2021-08-06 11:58:46 +03:00
Vladimir C
7f7bf9654b
Merge pull request #27235 from Algunenano/fix_lambda_aliases
2021-08-06 11:27:45 +03:00
Azat Khuzhin
6747b8a03b
Mark more tests as long
2021-08-06 07:07:50 +03:00
Azat Khuzhin
c523904b74
Mark more tests as long
2021-08-06 14:00:07 +03:00
Azat Khuzhin
6567aeda6c
Mark more tests as long
2021-08-06 07:56:23 +03:00
Azat Khuzhin
735b730a52
Mark more tests as long
2021-08-06 00:20:48 +03:00
Azat Khuzhin
1358a2db92
Fix WithMergeableStateAfterAggregationAndLimit with LIMIT BY and LIMIT OFFSET
...
In case of LIMIT BY, pre LIMIT cannot be applied (that is done on the
shard before), and hence shard applies regular LIMIT, but it goes with
applying OFFSET, and also the initiator will do apply OFFSET too.
2021-08-06 00:16:26 +03:00
Azat Khuzhin
c4e2342a06
Add verbose description for pre-LIMIT into EXPLAIN query
2021-08-06 00:16:26 +03:00
alexey-milovidov
1a3d8cebd2
Merge pull request #27197 from azat/nullable-index-fix
...
Fix on-disk format breakage for secondary indices over Nullable column
2021-08-05 21:52:18 +03:00
Azat Khuzhin
d5987b7a06
Fix 00754_alter_modify_order_by_replicated_zookeeper
2021-08-05 21:01:36 +03:00
Azat Khuzhin
fbcf0962ee
Mark some tests as long
2021-08-05 21:01:35 +03:00
Raúl Marín
fd76966715
Test shadow lambda recovery
...
Be a good citizen and leave a test checking for the recovery
after the lambda function has been processed
2021-08-05 19:03:42 +02:00
Raúl Marín
8b9778ebb6
Shadow lambda arguments
...
In case of ambiguity, lambda functions should prefer its arguments to
other aliases or identifiers
2021-08-05 18:52:00 +02:00
董海镔
e8b6c0a227
add bitmapSubsetOffsetLimit function
2021-08-06 00:44:07 +08:00
Artur
d2869d2e2b
add test for memory tracker in client
2021-08-05 16:20:24 +00:00
vdimir
a427b19d3a
Check join_use_nulls changed in StorageView::read
2021-08-05 18:38:52 +03:00
Raúl Marín
479f053f2e
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-08-05 17:24:10 +02:00
Pavel Kruglov
607d4dcc0b
Resolve conflicts, fix build and tests
2021-08-05 18:09:48 +03:00
Nikolai Kochetov
fc12310ee8
Revert #24095 . User-level settings will affect queries from view.
2021-08-05 17:17:22 +03:00
Alexander Kuzmenkov
d852207b0e
Merge pull request #25721 from CurtizJ/read-in-order-perf-2
...
Reduce memory usage in queries with `ORDER BY primary_key
2021-08-05 16:13:48 +03:00
Anton Popov
1a607af429
add test for parsing maps
2021-08-05 14:54:48 +03:00
Maksim Kita
71e5cfe3ca
Merge pull request #27134 from FArthur-cmd/compress_output_3473
...
add compression for INTO OUTFILE
2021-08-05 14:20:08 +03:00
Alexander Kuzmenkov
4bc652699f
Merge pull request #27184 from ClickHouse/aku/window-functions
...
mark window functions as ready for general use
2021-08-05 14:18:28 +03:00
Pavel Kruglov
ee167e9ee8
Remove extra file
2021-08-05 14:10:27 +03:00
Pavel Kruglov
e4c5d7e3b1
Support inserting nested as Array of structs, add some refactoring
2021-08-05 14:10:27 +03:00
alexey-milovidov
975e0a4d47
Merge pull request #27182 from amosbird/logquerykind
...
Try our best to log query_kind
2021-08-05 12:43:13 +03:00
Azat Khuzhin
bc0af176fe
tests/stateless: add {database} macro for ReplicatedMergeTree in *.sql
2021-08-05 10:24:23 +03:00
Amos Bird
665f735044
Add some test
2021-08-05 10:50:11 +08:00
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
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
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
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
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
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
Artur
5c6974736d
add newline
2021-08-03 12:52:46 +00: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
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
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
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
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
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
alesapin
181f93c60a
Merge pull request #24997 from evillique/nlp
...
NLP functions
2021-08-02 10:50:40 +03:00
Anton Popov
cc3ed12ed6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-08-02 02:56:00 +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
Alexey Milovidov
7fa24539b8
Make test 01852_cast_operator independent of timezone
2021-07-31 21:24:23 +03: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
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
Ildus Kurbangaliev
a4e9a56e8e
Make changes by review on #26663 PR
2021-07-30 20:57:32 +02: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
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
Raúl Marín
f0ff9af332
Attempt to fix flaky 00705_drop_create_merge_tree
2021-07-30 13:40:49 +02: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
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
Raúl Marín
b4cd34b5fb
Make the test parallelizable
2021-07-29 20:01:57 +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
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
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
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
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
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
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
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
万康
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
Alexey Milovidov
2872b7fec6
Fix for Antarctica/Casey
2021-07-27 09:53:58 +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
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
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
f695eda25d
Fix test
2021-07-26 06:27:39 +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
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
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
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
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
Maksim Kita
7e08748c5b
Updated tests
2021-07-23 11:13:51 +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
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
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
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
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
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