Commit Graph

62540 Commits

Author SHA1 Message Date
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
robot-clickhouse
d6854e80f7 Update version_date.tsv after release 21.3.8.76 2021-04-24 14:32:48 +03:00
robot-clickhouse
a7caafa38c Update version_date.tsv after release 21.4.5.46 2021-04-24 14:10:50 +03:00
alexey-milovidov
20e897bc5a
Merge pull request #23301 from ClickHouse/fix_race_in_deduplication
Deduplication: check block version on removal
2021-04-24 04:59:00 +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
c66e715f49
Merge pull request #23433 from ClickHouse/tavplubix-patch-1
Fix `Cannot unlink file` in `dropIfEmpty()` with multidisk confuguration
2021-04-24 03:34:06 +03:00
alexey-milovidov
cd1f14ba61
Update MergeTreeData.cpp 2021-04-24 03:33:56 +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
Alexander Kuzmenkov
5f23acfb47
Update Dockerfile 2021-04-23 21:58:37 +03:00
Alexander Kuzmenkov
9f50b1855f
Merge pull request #23520 from ClickHouse/aku/pvs
fix pvs warnings
2021-04-23 18:55:48 +03:00
vdimir
9460989721
Remove clashed columns from totals for StorageJoin 2021-04-23 15:37:05 +03:00
Alexander Kuzmenkov
88334e77cd
Merge pull request #23542 from ClickHouse/aku/window-empty-chunk
ignore empty input chunks generated by joins
2021-04-23 15:04:36 +03:00
Maksim Kita
3ae0b9b5ff
Merge pull request #23543 from kitaisreal/flat-dictionaries-updated-documentation
Flat dictionaries updated documentation
2021-04-23 13:35:13 +03:00
Maksim Kita
39f7c45df7 Flat dictionaries updated documentation 2021-04-23 11:57:10 +03:00
Maksim Kita
aebb9f8376
Merge pull request #23455 from olgarev/revolg-DOCSUP-8656-FlatDictionary_HashedDictionary_update_field
DOCSUP-8656: Flat dictionary parameters
2021-04-23 11:42:17 +03:00
Maksim Kita
e0c5797db3
Update external-dicts-dict-layout.md 2021-04-23 11:41:26 +03:00
Maksim Kita
6ae94fa25b
Update external-dicts-dict-layout.md 2021-04-23 11:40: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
Alexander Kuzmenkov
7ea5bd4a3f Merge remote-tracking branch 'origin/master' into HEAD 2021-04-23 09:26:43 +03:00
Alexander Kuzmenkov
0b990c9519
Merge pull request #23514 from ClickHouse/aku/perf-test-cpu-model
upload cpu model to perf test db
2021-04-23 09:25:51 +03:00
Olga Revyakina
ec37305696 Update external-dicts-dict-layout.md 2021-04-23 08:11:26 +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
Alexander Kuzmenkov
59eb220886 fix 2021-04-22 23:27:51 +03:00
Alexander Kuzmenkov
06ca44a378 fix pvs warnings 2021-04-22 22:54:58 +03:00
Alexander Kuzmenkov
35459a0228
Update FormatFactory.cpp 2021-04-22 21:48:06 +03:00
Anton Popov
5b5030a888 update test 2021-04-22 21:46:28 +03:00
Alexander Kuzmenkov
1463d5089c
Update Dockerfile 2021-04-22 21:31:34 +03:00
Alexander Kuzmenkov
3f855cb714 more 2021-04-22 20:18:21 +03:00
Alexander Kuzmenkov
6a1414663f upload cpu model to perf test db 2021-04-22 19:48:32 +03:00
Maksim Kita
7357c35197 Fixed code review issues 2021-04-22 17:19:47 +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
5e326a9824
Update settings.md 2021-04-22 08:56:21 +03:00
alexey-milovidov
8b6d3668a5
Update settings.md 2021-04-22 08:55:54 +03: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