Commit Graph

75943 Commits

Author SHA1 Message Date
凌涛
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
alesapin
99a3e9996a Better 2021-10-26 13:27:30 +03:00
alesapin
f8e3e8914c Don't run build checks for documentation 2021-10-26 13:24:17 +03:00
Maksim Kita
dbf4811029 Updated documentation 2021-10-26 13:00:42 +03:00
Maksim Kita
6cf16862ab Fixed style check 2021-10-26 12:57:49 +03:00
Maksim Kita
73bbf7549a HashedArrayDictionary optimize read multiple attributes 2021-10-26 12:57:49 +03:00
Maksim Kita
a4dfbba3c7
Merge pull request #30653 from kitaisreal/dictionaries-read-multiple-threads
HashedDictionaries added read performance tests
2021-10-26 12:56:29 +03:00
alesapin
2811a0ae7d
Merge pull request #30493 from ClickHouse/trying_actions
Trying builds on github actions
2021-10-26 12:52:26 +03:00
alesapin
86cb284c7e Get rid of matrix 2021-10-26 12:18:32 +03:00
alesapin
3b5b1d2006 Fix keeper zookeeper converter test 2021-10-26 12:07:07 +03:00
alesapin
b7ed729c81 typo 2021-10-26 11:29:22 +03:00
alesapin
c8f9bab93b Better wait for server start in integration tests 2021-10-26 11:28:28 +03:00
Maksim Kita
12b6110495
Merge pull request #30578 from zpi1223/master
docs: chinese translation supplement for zh module
2021-10-26 11:27:58 +03:00
Maksim Kita
48996187ca
Merge pull request #30673 from ClickHouse/improve-usability-remote-host-filter
Improve usability of `remote_url_allow_hosts`
2021-10-26 11:23:33 +03:00
Alexey Milovidov
da3e13b730 Fix indecency #30337 2021-10-26 10:00:19 +03:00