Commit Graph

8241 Commits

Author SHA1 Message Date
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
alexey-milovidov
e20a6e0f96
Update 01641_memory_tracking_insert_optimize_long.sql 2021-04-25 11:05:59 +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
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
alexey-milovidov
877d245d8f
Merge pull request #23462 from zhang2014/fix/ISSUE-23310
ISSUES-23310 Try fix MySQL 8.0 address already in use
2021-04-24 04:17:21 +03: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
vdimir
9460989721
Remove clashed columns from totals for StorageJoin 2021-04-23 15:37:05 +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
Azat Khuzhin
f1187aeb69 Convert 01548_query_log_query_execution_ms to .sh with endless retries 2021-04-23 07:08:59 +03:00
Kseniia Sumarokova
566db34cca
Merge pull request #23452 from kssenii/rabbitmq-allow-multiple-hosts
Allow rabbitmq vhost in table settings
2021-04-23 01:29:55 +03:00
Anton Popov
3016bda264
add 'stop merges' to test 2021-04-23 00:54:45 +03:00
Maksim Kita
2b822d896d
Merge pull request #23501 from kitaisreal/join-to-subqueries-columns-matcher-fix
JoinToSubqueriesVisitor ASTColumnsMatcher fix
2021-04-23 00:24:53 +03:00
Maksim Kita
f27002b1be
Merge pull request #23483 from hexiaoting/dev_alter_bugfix
Fix bug when modify column without type
2021-04-23 00:24:36 +03:00
Anton Popov
5b5030a888 update test 2021-04-22 21:46:28 +03:00
Azat Khuzhin
d78da1fa77 Fix 01548_query_log_query_execution_ms flap (by increasing the time delta)
From server logs in [1]:

    2021.04.22 10:09:12.216874 [ 19931 ] {cad834d6-e01d-4695-ad19-0bc6cdff65c3} <Debug> executeQuery: (from [::1]:37534, using production parser) (comment: /usr/share/clickhouse-test/queries/0_stateless/01548_query_log_query_execution_ms.sql) select '01548_query_log_query_execution_ms', sleep(0.4) format Null;
    ...
    2021.04.22 10:09:13.495662 [ 19931 ] {cad834d6-e01d-4695-ad19-0bc6cdff65c3} <Information> executeQuery: Read 1 rows, 1.00 B in 1.27832443 sec., 0 rows/sec., 0.78 B/sec.

  [1]: https://clickhouse-test-reports.s3.yandex.net/23469/2134a4f4c16da093194486ead133afae5cb4e827/functional_stateless_tests_(thread).html#fail1
2021-04-22 21:02:23 +03:00
alexey-milovidov
f00f4728a6
Merge pull request #23469 from ClickHouse/fix-perf-test-3
Fix error in perf test
2021-04-22 17:08:20 +03:00
Maksim Kita
8fde34fc52 Updated tests 2021-04-22 16:23:42 +03:00
Maksim Kita
ceaf6d57b7
Merge pull request #23393 from ClickHouse/revert-17359
Revert argMin/Max for single Tuple argument.
2021-04-22 13:32:04 +03:00
Maksim Kita
44393ea78b
Merge pull request #23484 from hexiaoting/dev_add_tests
Add testcases for arrayElement
2021-04-22 13:24:22 +03:00
Maksim Kita
86ffa9fcfa JoinToSubqueriesVisitor ASTColumnsMatcher fix 2021-04-22 13:14:35 +03:00
Kruglov Pavel
f125db243e
Merge pull request #23437 from rf/rf/deltasum-condition-fix
`deltaSum` aggregate function counter reset bugfix & test
2021-04-22 10:37:41 +03:00
mergify[bot]
29b605b4ea
Merge branch 'master' into rabbitmq-allow-multiple-hosts 2021-04-22 07:32:43 +00:00
hexiaoting
899d88459a Add testcases for arrayElement 2021-04-22 15:13:46 +08:00
hexiaoting
d24946f475 Fix bug when modify column without type 2021-04-22 14:48:57 +08:00
Alexey Milovidov
2134a4f4c1 Fix error in perf test 2021-04-22 08:43:20 +03:00
alexey-milovidov
3df3acc970
Merge pull request #23458 from kitaisreal/system-dictionaries-virtual-key-column
System dictionaries virtual key column
2021-04-22 08:42:15 +03:00
alexey-milovidov
8134c270a2
Merge pull request #23456 from kitaisreal/cast-to-array-from-empty-array
Cast to array from empty array
2021-04-22 08:41:35 +03:00
zhang2014
81496b2e63 Try fix MySQL 8.0 address already in use 2021-04-22 11:04:30 +08:00
alexey-milovidov
1fcf198cec
Merge pull request #23415 from godliness/fix-kafka-with-arrow
Fix kafka storage does not work with arrow and arrowstream format messages
2021-04-22 04:59:31 +03:00
Alexey Milovidov
43375e525e Fix test 2021-04-22 04:27:27 +03:00
Anton Popov
3548e31afd fix corner cases in vertical merges with ReplacingMergeTree 2021-04-22 01:27:18 +03:00
alexey-milovidov
e3af501de2
Update regression.py 2021-04-22 01:17:26 +03:00
Maksim Kita
7168b3a04c Table system.dictionaries added virtual key column 2021-04-22 01:16:03 +03:00
Vitaliy Zakaznikov
5942e293f1 Crossing out failing map type tests. 2021-04-21 16:29:41 -04:00
Vitaliy Zakaznikov
279d33d71b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into testflows_map_type_tests 2021-04-21 13:49:36 -04:00
Maksim Kita
631d870ae3 Cast to array from empty array 2021-04-21 20:29:49 +03:00
kssenii
2e6c753add Allow separate vhost for each table 2021-04-21 15:51:05 +00:00
Russ Frank
822fc9b110 deltasum counter reset bugfix & test 2021-04-21 09:52:53 -04:00