Commit Graph

76271 Commits

Author SHA1 Message Date
木木夕120
7ca924b2f6
Create distribution_queue.md 2021-10-27 09:54:20 +08:00
木木夕120
64434fb10b
Delete distribution_queue.md 2021-10-27 09:49:18 +08:00
木木夕120
76ad1e777b
Create distributed_ddl_queue.md 2021-10-27 09:48:35 +08:00
木木夕120
ba86f0e3f4
Delete distributed_ddl_queue.md 2021-10-27 09:40:34 +08:00
木木夕120
c9e5bdf436
Create data_skipping_indices.md 2021-10-27 09:38:59 +08:00
木木夕120
386b097009
Delete data_skipping_indices.md 2021-10-27 09:33:53 +08:00
木木夕120
492ba037ec
Update crash-log.md 2021-10-27 09:33:01 +08:00
木木夕120
23640513d7
Create current-roles.md 2021-10-27 09:32:25 +08:00
木木夕120
6a633d86cc
Delete current-roles.md 2021-10-27 09:24:52 +08:00
木木夕120
2d0ccc4848
Merge branch 'ClickHouse:master' into master 2021-10-27 09:24:22 +08:00
木木夕120
cebdee8905
Modify the content 2021-10-27 09:14:10 +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
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