Commit Graph

5123 Commits

Author SHA1 Message Date
Nikolai Kochetov
c508868570
Merge pull request #23082 from ClickHouse/explain-output
JSON output for EXPLAIN
2021-04-28 15:39:06 +03:00
Maksim Kita
b544037f03
Merge pull request #23436 from kitaisreal/storage-dictionary-updated
Refactored StorageDictionary
2021-04-28 13:11:48 +03:00
Nikita Mikhaylov
bbd1068d6e
Merge pull request #23643 from nikitamikhaylov/pp-segfault
Segfault on INSERT in HTTPHandler
2021-04-27 13:43:21 +03:00
Nikita Mikhaylov
02a53ff2c0
Merge pull request #23654 from nikitamikhaylov/mann-whitney-bug
`mannWhitneyUTest` same values in both samples
2021-04-27 13:42:52 +03:00
alexey-milovidov
186b1128d0
Merge pull request #23310 from amosbird/fixbugindex
Don't relax NOT conditions during partition pruning.
2021-04-27 07:13:18 +03:00
alexey-milovidov
013555907c
Merge pull request #23314 from excitoon-favorites/tdigest
Fixed `quantile(s)TDigest` inaccuracies
2021-04-27 06:57:44 +03:00
Nikita Mikhaylov
710921dc46 fix tests 2021-04-27 02:12:15 +03:00
Nikita Mikhaylov
7dc0f27c88 done 2021-04-26 21:07:30 +03:00
Nikita Mikhaylov
9a70136bcf better 2021-04-26 18:50:40 +03:00
Maksim Kita
0c012d4288 Fixed tests 2021-04-26 13:52:41 +03:00
Maksim Kita
561b045991 Fixed tests 2021-04-26 13:52:41 +03:00
Maksim Kita
e5079c87db Added test 2021-04-26 13:52:41 +03:00
Alexander Kuzmenkov
fed35445d9
Merge pull request #23546 from ClickHouse/aku/window-distributed
fix window functions for Distributed tables
2021-04-26 12:34:46 +03:00
Nikolai Kochetov
092ff0faeb
Merge pull request #23524 from kssenii/insert-union-select
Allow to insert default instead of Null in insert-select / insert-select-union-all
2021-04-26 12:25:49 +03:00
Kruglov Pavel
cb0bd3df5f
Merge pull request #21888 from rf/rf/deltasum-with-timestamp
add `deltaSumTimestamp` + docs, tests & minor improvement to `deltaSum`
2021-04-26 11:26:50 +03:00
tavplubix
81726de8fe
Merge pull request #23366 from amosbird/pid
Fix invalid virtual column expr
2021-04-26 11:10:24 +03:00
Vladimir
3c48b88929
Merge pull request #22208 from azat/s3-writer 2021-04-26 10:31:45 +03:00
Vladimir Chebotarev
c0afbc0043 Reset tests. 2021-04-26 10:21:06 +03:00
alexey-milovidov
a77843bd7d
Merge pull request #23617 from ClickHouse/fix-test-memory_tracking_insert_optimize_long
Fix bad test 01641_memory_tracking_insert_optimize_long
2021-04-26 00:47:32 +03:00
Alexey Milovidov
0dcf87aecc Prefer easy path 2021-04-26 00:46:43 +03:00
alexey-milovidov
42de40ab35
Update tests/queries/0_stateless/01641_memory_tracking_insert_optimize_long.sql
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-04-25 13:09:58 +03:00
Azat Khuzhin
0d6f9c0816 Add a test for writeSuffix() via Memory engine 2021-04-25 12:47:30 +03:00
alexey-milovidov
e20a6e0f96
Update 01641_memory_tracking_insert_optimize_long.sql 2021-04-25 11:05:59 +03:00
alexey-milovidov
3cf18d8a5f
Merge pull request #23610 from ClickHouse/bad-like
Fix error in LIKE (found by SQLancer)
2021-04-25 08:01:07 +03:00
Alexey Milovidov
301d75dcbe Fix bad test 01641_memory_tracking_insert_optimize_long 2021-04-25 06:24:39 +03:00
alexey-milovidov
1c472b014d
Merge pull request #23517 from azat/flaky-tests-v21.6
Fix function tests flaps
2021-04-25 04:08:49 +03:00
alexey-milovidov
6191f30892
Merge pull request #23595 from azat/fuzzer-tupleElement-formatting
Fix inconsistent formatting for tupleElement (for fuzzer)
2021-04-25 04:03:39 +03:00
Alexey Milovidov
263378bb20 Fix error in LIKE (found by SQLancer) 2021-04-25 03:58:44 +03:00
Azat Khuzhin
a5a8ecfe42 Fix inconsistent formatting for tupleElement (for fuzzer)
fuzzer sometimes [1] may inserts tupleElement() created from ASTLiteral:

    Function_tupleElement, 0xx
    -ExpressionList_, 0xx
    --Literal_Int64_255, 0xx
    --Literal_Int64_100, 0xx

And in this case it will be printed as "255.100", which
later will be parsed as float, and formatting will be
inconsistent.

So instead of printing it as regular tuple,
let's print it as ExpressionList instead (i.e. with ", " delimiter).

Simple reproducer:

    void ast()
    {
        auto arg1 = std::make_shared<ASTLiteral>(Field(255));
        auto arg2 = std::make_shared<ASTLiteral>(Field(100));

        auto func = makeASTFunction("tupleElement", arg1, arg2);

        auto ast = func;
        std::cerr << ast->formatForErrorMessage() << std::endl;
        std::cerr << ast->dumpTree() << std::endl;
    }

  [1]: https://clickhouse-test-reports.s3.yandex.net/23517/f1187aeb69109c88f0be978b8083080c7a843820/fuzzer_debug/report.html#fail1
2021-04-25 00:30:17 +03:00
mergify[bot]
51c16a6b7d
Merge branch 'master' into flaky-tests-v21.6 2021-04-24 19:11:52 +00:00
alexey-milovidov
280c0666a5
Merge pull request #23559 from ClickHouse/reproducible-build
Reproducible build
2021-04-24 21:26:31 +03:00
Azat Khuzhin
313b576aec Improve retry logic in 01675_distributed_bytes_to_delay_insert_long
https://clickhouse-test-reports.s3.yandex.net/23517/414d8d0634ea5e3f05d30f53df8531da54a7ff50/functional_stateless_tests_(ubsan).html#fail1
2021-04-24 15:18:01 +03:00
Azat Khuzhin
414d8d0634 Mark 01675_distributed_bytes_to_delay_insert as long
https://clickhouse-test-reports.s3.yandex.net/23517/416bacc341a815b1b2d28ae24a31e13982ff5a0f/functional_stateless_tests_flaky_check_(address)/test_run.txt.out.log
2021-04-24 09:01:58 +03:00
alexey-milovidov
bcede10919
Merge pull request #23312 from vdimir/issue-23002
Correct sample_block in HashJoin for dict join with join_algorithm
2021-04-24 04:40:43 +03:00
alexey-milovidov
2cfc2c8825
Merge pull request #23397 from CurtizJ/better-move-to-prewhere
Allow to move more conditions to PREWHERE
2021-04-24 04:39:33 +03:00
mergify[bot]
a5da512e39
Merge branch 'master' into pid 2021-04-24 00:37:39 +00:00
alexey-milovidov
41ed8aab59
Merge pull request #23459 from CurtizJ/fix-replacing
Fix corner cases in vertical merges with ReplacingMergeTree
2021-04-24 03:30:44 +03:00
alexey-milovidov
ca230224cf
Merge pull request #23549 from vdimir/issue-17718
Remove clashed columns from totals for StorageJoin
2021-04-24 03:19:00 +03:00
Alexey Milovidov
4648782a05 Remove build date from system.build_options 2021-04-24 02:10:32 +03:00
Azat Khuzhin
416bacc341 Add retries into 01675_distributed_bytes_to_delay_insert (and tune delays) 2021-04-23 22:31:27 +03:00
Alexander Kuzmenkov
2e41d1859d add test with aggregation 2021-04-23 18:21:34 +03:00
kssenii
a927611fcf Better test 2021-04-23 12:58:22 +00:00
vdimir
9460989721
Remove clashed columns from totals for StorageJoin 2021-04-23 15:37:05 +03:00
Alexander Kuzmenkov
54ad086753 fix for distributed 2021-04-23 13:59:21 +03:00
Alexander Kuzmenkov
1fe3fd864e Merge remote-tracking branch 'origin/master' into HEAD 2021-04-23 10:41:35 +03:00
Alexander Kuzmenkov
ce0a58f86f ignore empty input chunks generated by joins 2021-04-23 10:37:47 +03:00
kssenii
55d2627a27 Fix test 2021-04-23 04:16:36 +00:00
Azat Khuzhin
f1187aeb69 Convert 01548_query_log_query_execution_ms to .sh with endless retries 2021-04-23 07:08:59 +03:00
Anton Popov
3016bda264
add 'stop merges' to test 2021-04-23 00:54:45 +03:00
kssenii
3176c24a8a Add test 2021-04-22 21:46:49 +00:00