Commit Graph

12454 Commits

Author SHA1 Message Date
kssenii
8faaa6de7b Fix test 2022-08-11 11:00:15 +02:00
kssenii
3d61baff72 Fix checks 2022-08-10 21:09:18 +02:00
kssenii
0ff5609738 Finish support for persistent files 2022-08-10 16:54:59 +02:00
kssenii
5c3227ba56 Merge master 2022-08-10 12:00:34 +02:00
Vladimir C
a006ff0a43
Merge pull request #40037 from arthurpassos/fix_arrow_column_dictionary_to_ch_lc
Fix arrow column dictionary to ch lc
2022-08-10 11:40:40 +02:00
Vladimir C
1196d1d117
Merge pull request #40009 from ClickHouse/vdimir/rename-joined-project-input
Project input for rename joined columns step
2022-08-10 10:32:36 +02:00
Yakov Olkhovskiy
ffbaf72bab
Merge pull request #39874 from ClickHouse/fix-quota-key
Fix quota_key
2022-08-10 00:12:44 -04:00
kssenii
0dda03c94b Fix checks 2022-08-10 00:06:58 +02:00
Arthur Passos
ecbf2f08e0 add missing reference file 2022-08-09 16:13:47 -03:00
Arthur Passos
d61cec5bf4 Add one more arrowcolumn dict test 2022-08-09 16:13:09 -03:00
Arthur Passos
600adcc525 Add arrow dictionary of nullable string to lc stateless tests 2022-08-09 15:46:07 -03:00
Arthur Passos
6eb89fd780 Fix both arrow dict de-serialization and dict of nullable de-serialization 2022-08-09 15:06:22 -03:00
Arthur Passos
be1e32c3f1
Merge branch 'ClickHouse:master' into fix_arrow_column_dictionary_to_ch_lc 2022-08-09 15:04:06 -03:00
Anton Popov
0106ebd4df fix segfault in DataTypeAggregateFunction 2022-08-09 13:19:12 +00:00
Kruglov Pavel
99b9e85a8f
Merge pull request #39646 from Avogar/more-formats
Add more Pretty formats
2022-08-09 13:59:47 +02:00
vdimir
85db9539ad
Add test join_dup_columns_in_plan 2022-08-09 10:31:28 +00:00
Kruglov Pavel
4bbe5186c2
Merge pull request #39999 from HeenaBansal2009/Support_H_syntax_in_Hour_Interval_Kind
Added H literal for Hour IntervalKind
2022-08-09 11:24:41 +02:00
Kseniia Sumarokova
a1ecbefcdb
Merge pull request #39943 from ucasfl/file
Fix read of StorageFile with virtual columns
2022-08-09 10:57:51 +02:00
Heena Bansal
f426b3a663
Update 02360_small_notation_h_for_hour_interval.sql 2022-08-08 21:55:06 -04:00
Yakov Olkhovskiy
cccff115a2
Merge branch 'master' into fix-quota-key 2022-08-08 18:05:12 -04:00
Nikita Taranov
c67b554789
Update 02354_distributed_with_external_aggregation_memory_usage.sql (#39979) 2022-08-08 22:22:00 +02:00
HeenaBansal2009
d2bdf6fc3e Added tests 2022-08-08 11:51:05 -07:00
Alexander Tokmakov
664b4355bf
Merge pull request #39941 from azat/tests-rwlock-fix
tests: fix 02352_rwlock flakiness
2022-08-08 19:24:08 +03:00
Yakov Olkhovskiy
d39e9f65de
Merge branch 'master' into fix-quota-key 2022-08-08 11:54:21 -04:00
Yakov Olkhovskiy
1ef9c30e82
enable fast test for http 2022-08-08 11:49:27 -04:00
Yakov Olkhovskiy
eb4913e4c5
fix user and quota_key 2022-08-08 09:07:38 -04:00
Alexander Tokmakov
0ba6751849
Update 02380_insert_mv_race.sh 2022-08-08 15:53:37 +03:00
Vladimir C
6bd4821656
Merge pull request #39575 from vdimir/join_pushdown_column_not_found
Fix column not found for push down with join
2022-08-08 14:04:42 +02:00
Maksim Kita
83977dfead
Merge pull request #39869 from pkit/pkit/func_settings_format
fix incorrect format for functions with settings
2022-08-07 16:30:49 +02:00
flynn
4fa1762f96
Merge branch 'master' into file 2022-08-07 14:22:08 +08:00
flynn
d365aeafb7 add test 2022-08-06 17:41:35 +00:00
Azat Khuzhin
8b08d56473 tests: fix 02352_rwlock flakiness
It is possible that the next after INSERT query will be executed only
when INSERT finished, it is unlikely, but it happened few times on CI
[1]:

    2022.08.05 19:32:13.964046 [ 1565 ] {insert-qjnxxoaebk} <Debug> executeQuery: (from [::1]:57512) (comment: 02352_rwlock.sh) INSERT INTO test_7ybr6x_ordinary.data_02352 SELECT sleepEachRow(1) FROM numbers(20) GROUP BY number (stage: Complete)
    ...
    2022.08.05 19:32:14.945738 [ 1594 ] {245b7446-58da-452b-9669-55dad643bc34} <Debug> executeQuery: (from [::1]:57516) (comment: 02352_rwlock.sh) select count() from system.processes where query_id = 'insert-qjnxxoaebk' (stage: Complete)
    ...
    2022.08.05 19:32:33.997257 [ 1565 ] {insert-qjnxxoaebk} <Debug> TCPHandler: Processed in 20.056755494 sec.
    ...
    2022.08.05 19:32:34.614789 [ 908 ] {3be7ade3-6461-4906-8767-7cc11f83a0b8} <Debug> executeQuery: (from [::1]:57522) (comment: 02352_rwlock.sh) select count() from system.processes where query_id = 'drop-zoyhjyewja' (stage: Complete)
    ...
    2022.08.05 19:32:34.674039 [ 1175 ] {drop-zoyhjyewja} <Debug> executeQuery: (from [::1]:57528) (comment: 02352_rwlock.sh) DROP TABLE test_7ybr6x_ordinary.data_02352 SYNC (stage: Complete)
    ...

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/39826/8e545958495937c6c6e61951601a6470119d0813/stateless_tests__debug__[1/3].html

And to avoid flakiness in this case, add a retry loop and no-parallel
tag.

Refs: #38864
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-06 20:34:04 +03:00
Constantine Peresypkin
766d816df6 fix incorrect format for functions with settings
when support for settings was added in #39681
the formating was not altered to support settings

now it's supported
2022-08-06 17:08:32 +02:00
kssenii
9685f9a8b7 Fix checks 2022-08-05 22:16:33 +02:00
Igor Nikonov
9fddf6efde Merge remote-tracking branch 'origin/master' into ordinary_distinct_small_refact 2022-08-05 19:23:44 +00:00
Nikolai Kochetov
0005c37acc
Merge pull request #39477 from azat/fix-mv-drop-race
Fix LOGICAL_ERROR on race between DROP and INSERT with materialized views
2022-08-05 17:19:45 +02:00
Yakov Olkhovskiy
04c16cfeed no-fasttest for http 2022-08-05 10:55:31 -04:00
Yakov Olkhovskiy
ea51edde78 dedicated http test 2022-08-05 09:39:20 -04:00
Anton Popov
530c6bd6a4
Merge pull request #39927 from ClickHouse/CurtizJ-patch-6
Fix flaky test `02360_send_logs_level_colors`
2022-08-05 14:51:54 +02:00
Nikita Taranov
340ff4f1ad
impl (#39908) 2022-08-05 14:51:18 +02:00
Anton Popov
c3608de37e
fix flaky test 02360_send_logs_level_colors 2022-08-05 14:50:39 +02:00
Nikolai Kochetov
cf34232675 Output header is now empty for every MV chain.
Instead of checking that number of processors different for different
threads, simply always return empty header from buildChainImpl(), by
adding explicit conversion.

v2: ignore UNKNOWN_TABLE errors in test
2022-08-05 13:16:32 +03:00
Azat Khuzhin
4efa847a1f Fix LOGICAL_ERROR on race between DROP and INSERT with materialized views
In case of parallel INSERT (max_insert_threads > 1) it is possible for
VIEW to be DROP/DETACH'ed while building pipeline for various paralell
streams, and in this case the header will not match since when you have
VIEW you will got empty header and non-empty header otherwise.

And this leads to LOGICAL_ERROR later, while checking that output
headers are the same (in QueryPipelineBuilder::addChains() -> Pipe::addChains()).

However it also makes the pipeline different for various parallel
streams, and it looks like it is better to fail in this case, so instead
of always returning empty header from buildChainImpl() explicit check
had been added.

Note, that I wasn't able to reproduce the issue with the added test,
but CI may have more "luck" (although I've verified it manually).

Fixes: #35902
Cc: @KochetovNicolai
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-05 13:16:32 +03:00
kssenii
91f4143b6e Merge master 2022-08-05 12:14:08 +02:00
Nikolai Kochetov
2fe893ba67
Merge pull request #25563 from ClickHouse/use-dag-in-key-condition
Use ActionsDAG in KeyCondition
2022-08-05 11:22:46 +02:00
Yakov Olkhovskiy
96c1dcdbb1 add HTTP test 2022-08-05 02:32:52 -04:00
kssenii
7a9b0bc47f Merge master 2022-08-05 01:48:52 +02:00
Anton Popov
0492ef63a4
Merge pull request #39464 from CurtizJ/fix-custom-serializations
Fix columns of type `Object` with sparse serialization
2022-08-05 00:55:41 +02:00
Amos Bird
6a3a9dcf96
Fix building aggregate projections when external aggregation is on (#39671) 2022-08-04 23:29:26 +02:00
Arthur Passos
c307e9a228 Fix ArrowColumn dictionary to CH low cardinality conversion 2022-08-04 15:34:44 -03:00