Commit Graph

75957 Commits

Author SHA1 Message Date
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
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
jasperzhu
fb31410926 change to inline for bitmask generator 2021-10-27 00:05:47 +05:30
Nikita Mikhaylov
aae30a9e37
Fix fuzzer build (#30344) 2021-10-26 20:30:34 +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
Nikolai Kochetov
403ff98baa
Revert "Improve usability of remote_url_allow_hosts" 2021-10-26 20:15:29 +03:00
Tatiana Kirillova
da7d491125
Update index.md 2021-10-26 20:10:30 +03:00
Tatiana Kirillova
bc0a9c6984
Update index.md 2021-10-26 20:09:13 +03:00
lehasm
5a5fb50c9f
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-26 20:04:22 +03:00
jasperzhu
1caff8a81c fixed compile error 2021-10-26 22:12:21 +05:30
凌涛
d4d97d7b9a add new function mapContainsKeyLike
fixed error because of inconsistent offsets
2021-10-27 00:06:01 +08:00
Dmitry Novik
e971871a95
Merge pull request #30668 from azat/prewhere-always-true-where
Fix PREWHERE with WHERE in case of always true PREWHERE
2021-10-26 17:18:50 +03:00
Alexander Tokmakov
6be1e98342 fix 2021-10-26 17:06:48 +03:00
Maksim Kita
b58f819789
Merge pull request #30667 from kitaisreal/compiled-expression-cache-limit-elements-size
CompiledExpressionCache limit elements size
2021-10-26 16:43:49 +03:00
gyuton
901e5170a1 small fixes 2021-10-26 16:42:19 +03:00
gyuton
3b5c4b7fd2
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-26 16:33:58 +03:00
Nikolai Kochetov
b549bddc11
Merge pull request #29735 from ClickHouse/fix-backward-compatibility-after-21196
Fix backward compatibility after #21196.
2021-10-26 16:31:40 +03:00
Nikolai Kochetov
36c3b1d5b1
Merge pull request #30639 from ClickHouse/fix-30545
Fix argument types for now and now64
2021-10-26 16:29:18 +03:00
alexey-milovidov
329437abca
Merge pull request #30674 from ClickHouse/fix-indecency
Fix indecency #30337
2021-10-26 14:24:18 +03:00
mergify[bot]
ce88a84e88
Merge branch 'master' into nv/parts-uuid-move-shard-kill 2021-10-26 11:09:19 +00:00
alesapin
2d559e098c Fix test 2021-10-26 14:06:09 +03:00
alesapin
a679ece0fb Merge branch 'master' into fix_intersecting_parts_to_do 2021-10-26 14:02:05 +03:00
mergify[bot]
1843f6504a
Merge branch 'master' into MDB-14537-2 2021-10-26 10:47:39 +00:00
Alexander Tokmakov
2e7e195e77 change alter_lock to std::timed_mutex 2021-10-26 13:37:00 +03:00
alesapin
69404b759a
Merge pull request #30681 from ClickHouse/trying_actions
Don't run build checks for documentation
2021-10-26 13:35:56 +03:00
alesapin
8eb6c5fba9 Conditional run 2021-10-26 13:34:12 +03:00
Alexander Tokmakov
a1cab43feb fix five years old bug in StingSearcher 2021-10-26 13:32:07 +03:00