Commit Graph

5477 Commits

Author SHA1 Message Date
Nicolae Vartolomei
be95a425d6 Avoid hiding errors like Limit for rows or bytes to read exceeded for subqueries 2021-05-26 16:45:05 +01:00
alesapin
8ba6ed3fc2 Simplier test 2021-05-26 16:53:05 +03:00
Anton Popov
e1c86d3747
Merge pull request #24446 from amosbird/fixdate
Fix toWeek monotonicity
2021-05-26 15:32:03 +03:00
Nikita Mikhaylov
1d79c10168
Merge branch 'master' into fix-arcadia-8 2021-05-26 15:25:51 +03:00
Nikita Mikhaylov
0e89be382b fix 2021-05-26 15:24:57 +03:00
Vladimir
fc15cad7e0
Pass Settings to aggregate function creator 2021-05-26 14:58:31 +03:00
Vladimir
7224e25156
Revert "Pass Settings to aggregate function creator" 2021-05-26 14:46:42 +03:00
Vladimir
6650c67b01
Merge pull request #22762 from vdimir/create-aggregate-func-settings 2021-05-26 14:32:14 +03:00
alesapin
e19cff70b8 More robust test 2021-05-26 12:47:22 +03:00
alesapin
08c37a4c9e Merge branch 'master' into configurable_max_parts_to_merge 2021-05-26 11:30:39 +03:00
alesapin
069d45790f
Merge pull request #24157 from kssenii/modulo-partition-key
Adjust modulo function when used in partition key
2021-05-26 10:30:54 +03:00
mergify[bot]
d6ada7df5c
Merge branch 'master' into fixdate 2021-05-26 02:38:10 +00:00
alexey-milovidov
37550ec774
Merge pull request #24455 from ClickHouse/fix-flaky-test-17
Fix flaky test 01085_max_distributed_connections
2021-05-26 03:28:17 +03:00
Alexey Milovidov
4f1d6c1ffe Fix the annoying test 2021-05-26 02:04:16 +03:00
tavplubix
84f9d38620
Merge pull request #24321 from amosbird/fixdroppartition
Fix drop partition in rare case
2021-05-26 01:34:22 +03:00
Maksim Kita
315994f686
Merge pull request #24442 from kitaisreal/actions-dag-compile-expressions-update
ActionsDAG compile expressions update
2021-05-25 21:44:23 +03:00
Alexey Milovidov
350aa95ac8 Fix terrible test 2021-05-25 20:22:32 +03:00
mergify[bot]
67e7030eae
Merge branch 'master' into modulo-partition-key 2021-05-25 15:39:17 +00:00
alesapin
7c69695d67 Fix test 2021-05-25 17:52:10 +03:00
alesapin
6e29404a75 Add max_parts_to_merge_at_once setting 2021-05-25 16:21:17 +03:00
tavplubix
7844e3847d
Update 01414_mutations_and_errors.reference 2021-05-25 15:26:46 +03:00
tavplubix
ba5441ea2a
Update 01155_old_mutation_parts_to_do.sh 2021-05-25 14:35:04 +03:00
Alexander Tokmakov
4849ea2e03 fix unexpected behavior in mutation finalization 2021-05-25 14:10:45 +03:00
Maksim Kita
ba43fe784c Updated tests 2021-05-25 11:50:40 +03:00
Nikolai Kochetov
6a726ca8ed Update test. 2021-05-25 10:19:10 +03:00
Anton Popov
3acbd12c54 enable reading of subcolumn for distributed tables 2021-05-25 03:49:24 +03:00
Anton Popov
35e2cc7b2b fix several cases in cast operator 2021-05-25 02:50:28 +03:00
kssenii
70469429c1 Fixes 2021-05-24 23:39:56 +00:00
Anton Popov
6c0ac12dbb fix tuples in 'CREATE .. AS SELECT' queries 2021-05-24 23:15:04 +03:00
Nikolai Kochetov
79a0029843 Fix header mismatch for UNION. 2021-05-24 21:09:00 +03:00
Amos Bird
6ba29af871
Fix toWeek monotonicity 2021-05-24 23:52:02 +08:00
Alexey Milovidov
3fae262d19 Fix flaky test 01085_max_distributed_connections 2021-05-24 18:31:43 +03:00
kssenii
659e57e60f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into modulo-partition-key 2021-05-23 22:46:00 +00:00
kssenii
bbf56e35ac Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-23 10:54:48 +03:00
alesapin
660916a9a1
Merge pull request #24393 from ClickHouse/fix_flaky_quota_test
Fix flaky 01033_quota_dcl
2021-05-23 10:22:09 +03:00
alexey-milovidov
ffc91dd947
Merge pull request #24411 from azat/tests-fixes
Stateless tests fixes
2021-05-23 00:45:19 +03:00
kssenii
1c43b333ea Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-22 21:26:48 +03:00
kssenii
5606e248a7 Fix 2021-05-22 16:19:56 +00:00
kssenii
b72f6ea78e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into modulo-partition-key 2021-05-22 16:15:15 +00:00
alexey-milovidov
13398ad233
Merge pull request #24319 from azat/ipv6-fix
Fix IPv6 addresses resolving
2021-05-22 15:23:18 +03:00
Azat Khuzhin
ef2335d835 Increase timeout in 01676_long_clickhouse_client_autocomplete
https://clickhouse-test-reports.s3.yandex.net/24411/84dd2d472812d226655bd0a4420863bbf291d601/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
2021-05-22 14:07:21 +03:00
Azat Khuzhin
46162c292c Use unique zk path in tests with ReplicatedMergeTree 2021-05-22 14:07:21 +03:00
Azat Khuzhin
3a355ccff2 Mark some tests as long 2021-05-22 14:07:21 +03:00
Azat Khuzhin
8058166d55 tests: fix flakiness with system.{parts,detached_parts,columns,parts_clumns,tables} 2021-05-22 14:07:21 +03:00
Azat Khuzhin
f07f133be5 Fix typo in 01800_log_nested 2021-05-22 14:07:21 +03:00
alexey-milovidov
7b38ad3a85
Merge pull request #23204 from RedClusive/feature-quantileBfloat16
Feature quantile bfloat16
2021-05-21 23:46:05 +03:00
Azat Khuzhin
fbe8b37ff6 Skip 01880_remote_ipv6 in arcadia 2021-05-21 22:47:55 +03:00
Azat Khuzhin
1eceb5a8d3 parseAddress: improve port parsing (verify that port is a valid int) 2021-05-21 22:47:35 +03:00
Azat Khuzhin
44c85edae0 parseAddress: improve parsing of port for IPv6 2021-05-21 22:47:35 +03:00
Azat Khuzhin
0536db0ec3 Fix resolving of IPv6 addresses
v2: move the check from Cluster to DNSResolver
2021-05-21 22:47:35 +03:00
kssenii
30845a383f Fix comparisons with modulo key 2021-05-21 15:01:41 +00:00
Vladimir
d56d7145c1
Merge pull request #24250 from ucasFL/count-range
Add aggregate function rangeSum
2021-05-21 13:23:38 +03:00
alesapin
0f0a864057 Fix flkay 01033_quota_dcl 2021-05-21 13:22:19 +03:00
alexey-milovidov
04e3ddeffa
Merge pull request #24151 from azat/format-FROM-clause
Change FROM clause formatting (make it more human friendly)
2021-05-21 06:26:53 +03:00
alexey-milovidov
5de03390e0
Merge pull request #24285 from abyss7/issue-23901
Allow empty HTTP headers
2021-05-21 05:21:06 +03:00
Azat Khuzhin
59d4d42b5e Mark some tests as long 2021-05-20 21:04:12 +03:00
Azat Khuzhin
8b438bcd3c Change formatting of subqueries (make it more human friendly)
Fix trailing whitespaces in FROM/IN clause with subqueries in multiline
mode, and also changes the output of the queries slightly in a more
human friendly way.

Before:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one
    ,
    (
        SELECT *
        FROM system.one
    )

After:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one,
    (
        SELECT *
        FROM system.one
    )

v2: Fix subqueries formatting in a different way
v3: Adjust *.reference in tests
v4: Fix modernize-loop-convert in ASTTablesInSelectQuery
2021-05-20 21:04:12 +03:00
kssenii
3dee003f9b Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-20 19:20:09 +03:00
tavplubix
acd952d701
Merge pull request #24309 from ClickHouse/fix_rename_matview
Fix rename MaterializedView
2021-05-20 18:20:38 +03:00
vdimir
09d63545b0
Return float in segmentLengthSum for float args, add tests 2021-05-20 17:43:24 +03:00
vdimir
c8cbde1b89
Merge branch 'master' into count-range 2021-05-20 16:51:51 +03:00
Ivan Lezhankin
3c6b69a430 Fix test 2021-05-20 15:12:09 +03:00
Maksim Kita
25fe0e88f8 Compile expressions added partition by test 2021-05-20 11:16:15 +03:00
Maksim Kita
af78649e56
Merge pull request #24023 from kitaisreal/compile-expressions-comparison-function-constant-case-with-alias-fix
CompileExpressions comparison function constant case fix
2021-05-20 10:58:38 +03:00
Nikolai Kochetov
d09f3bcd0d
Merge pull request #24252 from ClickHouse/try-fix-group-by-shard-num-in-another-way
Try to fix GROUP BY _shard_num in a different way
2021-05-20 10:49:45 +03:00
alesapin
b9c3601083
Merge pull request #24275 from ucasFL/fix-mutation
Fix mutation fail of StorageMemory
2021-05-20 10:09:48 +03:00
mergify[bot]
29b3ed4551
Merge branch 'master' into modulo-partition-key 2021-05-20 05:45:11 +00:00
Alexey Milovidov
93585a0dd1 Fix bad test for Enum hints 2021-05-20 01:26:44 +03:00
Alexander Tokmakov
2996e7c072 fix rename matview 2021-05-19 21:53:31 +03:00
kssenii
477214a57f Fix partitionPrunner with modulo 2021-05-19 17:36:32 +00:00
Nikolai Kochetov
e8f8b2ba18
Merge pull request #24162 from amosbird/projection-fix2
Fix add projection to replicated mergetree
2021-05-19 18:07:52 +03:00
feng lv
9de7399737 update
fix test
2021-05-19 14:51:54 +00:00
Maksim Kita
218f534a6f
Merge pull request #24100 from Enmk/fix_DateTime64_vs_DateTime_in_WHERE
Fix DateTime64 column vs DateTime value in where
2021-05-19 17:27:28 +03:00
feng lv
d92b1f0e9a Fix mutation of StorageMemory
fix

fix
2021-05-19 14:15:50 +00:00
Ivan Lezhankin
33f816d28d Allow empty HTTP headers 2021-05-19 16:20:23 +03:00
Alexander Kuzmenkov
e9b69bbd70
Merge pull request #23906 from azat/fix-distributed_group_by_no_merge
distributed_group_by_no_merge fixes
2021-05-19 16:16:08 +03:00
Maksim Kita
0ca9ba19c0 Remove performance test 2021-05-19 16:14:28 +03:00
Nikolai Kochetov
c07043fd97 Try fix more cases. 2021-05-19 15:16:18 +03:00
Nikolai Kochetov
a954e01897
Update 01710_projection_fetch.sql 2021-05-19 13:46:09 +03:00
feng lv
5e4cde8540 fix 2021-05-19 10:24:53 +00:00
mergify[bot]
8ba2480724
Merge branch 'master' into modulo-partition-key 2021-05-18 15:32:51 +00:00
Anton Popov
662888aee0
Merge pull request #24183 from hexiaoting/dev_nested_bugfix
Fix bug for update nested columns with const condition
2021-05-18 18:26:02 +03:00
Nikolai Kochetov
57f5e33464 Try to fix GROUP BY _shard_num 2021-05-18 18:17:19 +03:00
Kseniia Sumarokova
0ab15d0bc4
Merge branch 'master' into modulo-partition-key 2021-05-18 17:45:32 +03:00
Kruglov Pavel
cee8e280c7
Merge pull request #24193 from plugine/fix-mutation-for-storagememory
Fix wrong typo at StorageMemory
2021-05-18 10:57:52 +03:00
Maksim Kita
40d8d95fd2
Merge pull request #24067 from azat/buffer-destroy-first
Flush Buffer tables before shutting down tables (within one database)
2021-05-18 09:07:28 +03:00
Maksim Kita
49d82ee408
Merge pull request #24177 from ucasFL/fix-reinterpret
fix reinterpretAsFixedString for UUID
2021-05-18 08:58:08 +03:00
feng lv
dcf5d345e8 fix reinterpretAsFixedString for UUID
fix
2021-05-18 01:50:27 +00:00
Maksim Kita
8ef916a1ba Updated comment message 2021-05-17 22:08:06 +03:00
kssenii
9b8df78fdd Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-17 17:42:05 +03:00
Nikolai Kochetov
098b9d04d2 Update test. 2021-05-17 16:26:12 +03:00
Ilya Yatsishin
8ede5c736a
Merge pull request #23992 from MaxWk/enable-datatime64-version-column
enable DateTime64 to be version column
2021-05-17 14:34:15 +03:00
Nikolai Kochetov
d1c0ed9b4c Update test. 2021-05-17 14:19:27 +03:00
张中南
3d1992ea50 fix wrong typo at StorageMemory 2021-05-17 18:24:01 +08:00
avogar
66b9ba805c Remove temporary files 2021-05-17 12:57:51 +03:00
hexiaoting
c5c7b2db97 Fix bug for update nested columns with const condition 2021-05-17 16:34:50 +08:00
alesapin
eae2df6478
Merge pull request #23997 from ClickHouse/fix_intersecting_parts
Try fix intersecting parts
2021-05-17 10:46:58 +03:00
Maksim Kita
3a822d2832 Added comments 2021-05-17 10:25:50 +03:00
Nikolai Kochetov
f21df0f186
Update 01710_projection_fetch.sql 2021-05-17 09:42:22 +03:00
Amos Bird
07b1be5a76
Fix distributed processing when using projection 2021-05-16 22:40:06 +08:00