Commit Graph

76186 Commits

Author SHA1 Message Date
alesapin
300c18d329 Fix 2021-10-27 10:27:11 +03:00
alesapin
f52ae7f678 Fix cmd 2021-10-27 10:24:44 +03:00
alesapin
9d087ae1c2 Add functional tests 2021-10-27 10:21:48 +03:00
alesapin
ce22666c2a
Merge pull request #30727 from azat/fix-docker_images_check
tests/ci/docker_images_check: add missing time import
2021-10-27 10:19:34 +03:00
Azat Khuzhin
d8a64a7ece tests/ci: fix wrong-import-order pylint warning 2021-10-27 10:14:39 +03:00
Azat Khuzhin
5930714ccd tests/ci/version_helper.py: fix pylint warnings 2021-10-27 10:03:25 +03:00
Azat Khuzhin
161f48c2c8 tests/ci/style_check.py: fix pylint warnings 2021-10-27 10:03:25 +03:00
Azat Khuzhin
e933e05662 tests/ci/s3_helper.py: fix pylint warnings 2021-10-27 10:03:25 +03:00
Azat Khuzhin
ce7e18fcb7 tests/ci/run_check.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
4e2ffbd38c tests/ci/report.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
bcac58acde tests/ci/pvs_check.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
a90e477e41 tests/ci/pr_info.py: fix pylint warnings 2021-10-27 10:03:24 +03:00
Azat Khuzhin
90ea2de9bb Add unidiff into style image 2021-10-27 10:03:24 +03:00
Azat Khuzhin
b41c77f4f8 Add boto3 to style image 2021-10-27 10:03:24 +03:00
Azat Khuzhin
0c9c15e06b tests/ci/finish_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
3dd09db096 tests/ci/fast_test_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
2a3fe5f798 tests/ci/docker_images_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
e581cdb933 tests/ci/compress_files.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
d1c49bbdcb tests/ci/build_report_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
c47617a612 tests/ci/build_check.py: fix pylint warnings 2021-10-27 10:03:23 +03:00
Azat Khuzhin
944437caf6 Add PyGithub into style image 2021-10-27 10:03:23 +03:00
Azat Khuzhin
fa50dd885c Run pylint for ci scripts 2021-10-27 10:03:23 +03:00
Azat Khuzhin
13850ba257 tests/ci/docker_images_check: add missing time import 2021-10-27 10:01:53 +03:00
Kseniia Sumarokova
57626438b0
Merge pull request #30469 from kirillikoff/kirillikoff-DOCSUP-13264
DOCSUP-13264: Document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators
2021-10-27 09:48:12 +03:00
Azat Khuzhin
9936ee5181 Update gtest_disk_encrypted for new readFile() interface 2021-10-27 09:37:26 +03:00
Azat Khuzhin
7ce01b328e Update gtest_disk_encrypted for new createReadBufferFromFileBase() interface 2021-10-27 09:37:26 +03:00
Azat Khuzhin
d0a031014e Fix test_part_uuid::test_part_uuid_wal
CI: https://clickhouse-test-reports.s3.yandex.net/30716/ca41267a4d5d7e1da3dd584c98a9143e15f394cf/integration_tests_(asan).html#fail1
2021-10-27 09:28:10 +03:00
feng lv
4ac120b883 remove some unneeded header files 2021-10-27 04:13:12 +00:00
凌涛
fb6716f4ac add doc 2021-10-27 11:56:55 +08:00
jasperzhu
49dd69c6c9 adjust header files 2021-10-27 05:22:05 +05:30
jasperzhu
0217ed09ac revise compile flag 2021-10-27 05:19:15 +05:30
jasperzhu
5ab55f7eaa fixed function defect 2021-10-27 04:21:46 +05:30
jasperzhu
27f30dab89 remove function due to extra latency 2021-10-27 03:44:28 +05:30
Cody Baker
b764b6ce21
Update hardware page colors (#30719)
Replaces yellow with a light gray
2021-10-27 00:08:05 +03:00
Vitaly Baranov
bc9ee5e33f Add tests for compatibility of LogFamily. 2021-10-26 23:09:40 +03:00
alesapin
44684a8dff
Merge pull request #30678 from ClickHouse/fix_keeper_test
Fix keeper zookeeper converter test
2021-10-26 23:03:30 +03:00
Azat Khuzhin
fbf98bea0b Fix "Column is not under aggregate function and not in GROUP BY" with PREWHERE
In 21.7 the function column type is unknown:

  (lldb) p tmp_actions_dag->dumpDAG()
  (std::string) $14 = "0 : INPUT () (no column) Int32 key\n1 : COLUMN () Const(UInt8) UInt8 1\n2 : FUNCTION (0) (no column) UInt8 ignore(key) [ignore]\n3 : FUNCTION (1, 2) (no column) UInt8 or(1, ignore(key)) [or]\nIndex: 0 1 2 3\n"
                                                                                                                                                                            ^^^^^^^^^^^

While in 21.8+ it is const:

  (lldb) p tmp_actions_dag->dumpDAG()
  (std::string) $22 = "0 : INPUT () (no column) Int32 key\n1 : COLUMN () Const(UInt8) UInt8 1\n2 : FUNCTION (0) (no column) UInt8 ignore(key) [ignore]\n3 : FUNCTION (1, 2) Const(UInt8) UInt8 or(1, ignore(key)) [or]\nIndex: 0 1 2 3\n"
                                                                                                                                                                            ^^^^^

This is after getRootActions() in SelectQueryExpressionAnalyzer::appendPrewhere()

v1: fix for SELECT only, but breaks virtual columns
v2: hacky fix, that also touches MergeTree code
v3: allow_remove_inputs=false
v4: allow_constant_folding=false instead
2021-10-26 22:57:48 +03:00
Azat Khuzhin
dd7bffcaf9 ActionsDAG: add allow_constant_folding flag for removeUnusedActions() 2021-10-26 22:56:44 +03:00
Azat Khuzhin
248b689067 ActionsDag: add allow_remove_inputs for other variants of removeUnusedActions() 2021-10-26 22:56:44 +03:00
Azat Khuzhin
874f7a5052 Add a test with optimized columns from PREWHERE 2021-10-26 22:56:44 +03:00
Dmitriy
46e41a10e8 Fix typo
Поправил опечатку.
2021-10-26 22:16:24 +03:00
jasperzhu
fb31410926 change to inline for bitmask generator 2021-10-27 00:05:47 +05:30
Dmitriy
8d0f4e0d70 Translate to Russian
Выполнил перевод на русский язык.
2021-10-26 21:20:24 +03:00
andrc1901
a4d0bbe399
Update docs/ru/sql-reference/functions/splitting-merging-functions.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-10-26 20:47:32 +03:00
andrc1901
c569a1b37e
Update docs/ru/sql-reference/functions/splitting-merging-functions.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-10-26 20:47:22 +03:00
andrc1901
e45c2241a9
Update docs/en/sql-reference/functions/splitting-merging-functions.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-10-26 20:47:10 +03:00
andrc1901
9138d8965d
Update docs/en/sql-reference/functions/splitting-merging-functions.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-10-26 20:46:44 +03:00
Nikita Mikhaylov
aae30a9e37
Fix fuzzer build (#30344) 2021-10-26 20:30:34 +03:00
Nikolai Kochetov
0f30513652
Revert "Revert "Improve usability of remote_url_allow_hosts"" 2021-10-26 20:17:02 +03:00
Nikolai Kochetov
1f96da2f3c
Merge pull request #30707 from ClickHouse/revert-30673-improve-usability-remote-host-filter
Revert "Improve usability of `remote_url_allow_hosts`"
2021-10-26 20:15:52 +03:00