mergify[bot]
13fdefebf5
Merge branch 'master' into fixjoingetornull
2021-06-17 08:26:13 +00:00
Amos Bird
c8ea6527cb
Add prefer_global_in_and_join setting
2021-06-17 14:27:29 +08:00
mergify[bot]
41d007a1b3
Merge branch 'master' into MySQL-column-comments-support
2021-06-17 05:40:15 +00:00
tavplubix
2b62a09aa3
Merge pull request #25373 from ClickHouse/improve_replicated_database_tests2
...
Improve Replicated database tests 2
2021-06-17 08:34:06 +03:00
Alexander Tokmakov
c235539620
minor fixes
2021-06-17 00:20:35 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Anton Popov
ea9b890618
Merge branch 'master' into add-compatibility-setting
2021-06-16 21:10:56 +03:00
Anton Popov
8bd7cbd925
add compatibility setting for name of columns
2021-06-16 21:10:07 +03:00
tavplubix
710546b9e8
Merge branch 'master' into improve_replicated_database_tests
2021-06-16 13:24:32 +03:00
Storozhuk Kostiantyn
46b230ddd7
Update InterpretersMySQLDDLQuery.cpp
2021-06-16 14:22:07 +08:00
alexey-milovidov
7180cf2367
Merge pull request #25265 from ClickHouse/minor-changes-3
...
Minor change
2021-06-16 08:33:12 +03:00
Maksim Kita
0a057773f1
Merge pull request #24814 from kitaisreal/expression-jit-simplify-loop
...
ExpressionJIT simplify loop
2021-06-16 01:42:15 +03:00
Alexander Tokmakov
c873714698
improve replicated database tests
2021-06-15 23:52:29 +03:00
mergify[bot]
7959d92029
Merge branch 'master' into minor-changes-3
2021-06-15 18:07:24 +00:00
Storozhuk Kostiantyn
74849bbe0c
Update InterpretersMySQLDDLQuery.cpp
...
Added space after if
2021-06-15 18:21:02 +03:00
alesapin
d68338a792
Merge pull request #24979 from nvartolomei/nv/parts-uuid-move-shard-acl
...
Part movement between shards ACL
2021-06-15 17:19:10 +03:00
alesapin
ca4628d31c
Merge pull request #25197 from ClickHouse/disable-paln-optimizations-for-mutations
...
Do not optimize query plan for mutations.
2021-06-15 17:15:36 +03:00
Kostiantyn Storozhuk
d96478c9ff
Integration test added and small fixes
2021-06-15 21:45:30 +08:00
Nikita Mikhaylov
a52bba91b7
Merge pull request #16401 from abyss7/ast-table-identifier-2
...
ASTTableIdentifier part #2 : Introduce ASTTableIdentifier
2021-06-15 13:51:30 +03:00
Amos Bird
8bf897b9c6
Add some comment
2021-06-15 18:37:22 +08:00
Amos Bird
aaac231c6a
Record expanded aliases for RBAC
2021-06-15 18:28:13 +08:00
Amos Bird
6795209ae4
Reuse local variable
2021-06-15 17:54:28 +08:00
Amos Bird
e3ae2f6e7a
Rewrite more alias columns
2021-06-15 17:54:28 +08:00
vdimir
05115dcd32
Merge branch 'master' into issue-23351
2021-06-15 12:06:42 +03:00
Amos Bird
4c573b36fe
Fix joinGetOrNull with not-nullable columns
2021-06-15 16:34:53 +08:00
Maksim Kita
a32d9cdbcd
Added compileFunction preudocode documentation
2021-06-15 10:56:08 +03:00
Maksim Kita
e9bfcd20e6
ExpressionJIT fix loop
2021-06-15 10:56:08 +03:00
Alexey Milovidov
447d7bb8cd
Minor changes
2021-06-14 07:13:35 +03:00
alexey-milovidov
99cfa9f463
Merge pull request #25248 from matwey/missed_include_condition_variable
...
Add missed #include <condition_variable>
2021-06-13 22:55:10 +03:00
Matwey V. Kornilov
797b29d082
Add missed #include <condition_variable>
...
std::condition_variable is used for wait_table_finally_dropped
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
2021-06-13 22:14:05 +03:00
mergify[bot]
9cfedd9c64
Merge branch 'master' into progress-bar
2021-06-12 01:15:23 +00:00
alexey-milovidov
05d1af153c
Merge branch 'master' into rename-const-context-ptr
2021-06-12 03:25:09 +03:00
alexey-milovidov
768b8fed75
Merge branch 'master' into mv-dist-join-fix
2021-06-12 03:19:09 +03:00
alexey-milovidov
99f108d704
Merge pull request #25162 from kitaisreal/rewrite-function-to-subcolumn-visitor-add-into-ya-make
...
RewriteFunctionToSubcolumnVisitor add into ya.make
2021-06-12 02:58:53 +03:00
alexey-milovidov
320f253912
Merge pull request #25022 from amosbird/initialquerystarttimefix
...
Add initial_query_start_time to query log
2021-06-12 02:41:24 +03:00
Ivan Lezhankin
e6b9ab6261
Fix false-positive issue from clang-tidy
2021-06-11 21:05:45 +03:00
Ivan Lezhankin
f7979292d6
Merge branch 'ast-table-identifier-2' of github.com:abyss7/ClickHouse into ast-table-identifier-2
2021-06-11 18:29:04 +03:00
Ivan Lezhankin
4773c79300
Fix ANTLR grammar
2021-06-11 18:27:32 +03:00
Amos Bird
49db4dbe6a
Update comment
2021-06-11 23:24:38 +08:00
tavplubix
182c10826c
Update TableJoin.h
2021-06-11 17:47:30 +03:00
Amos Bird
7d9a1106b8
Add initial_query_start_time to query log
2021-06-11 22:24:53 +08:00
Storozhuk Kostiantyn
b2ddc98958
Update InterpretersMySQLDDLQuery.cpp
2021-06-11 14:34:03 +03:00
Kostiantyn Storozhuk
3dc718ff36
style fixes
2021-06-11 19:29:12 +08:00
vdimir
c3aec8ae57
Fix random indentation to trigger ci
2021-06-11 14:03:53 +03:00
Nikolai Kochetov
52f60692c8
Do not optimize query plan for mutations.
2021-06-11 11:48:12 +03:00
Storozhuk Kostiantyn
6c9f701636
Wip my sql column comments support ( #1 )
...
Implemented MySQL engine column comments support
2021-06-11 11:43:36 +03:00
alexey-milovidov
7616216f10
Merge pull request #25015 from ClickHouse/fix-wrong-code-in-aggregate-functions
...
Remove a chunk of wrong code and look what will happen
2021-06-11 00:36:35 +03:00
Alexey Milovidov
7a6df49964
Fix clang-tidy
2021-06-10 22:14:24 +03:00
Ivan
a7fa4e641c
Merge branch 'master' into ast-table-identifier-2
2021-06-10 16:43:22 +03:00
Maksim Kita
005946945f
RewriteFunctionToSubcolumnVisitor add into ya.make
2021-06-10 11:41:16 +03:00
Alexey Milovidov
39abf41b4d
Fix clang-tidy
2021-06-10 02:16:01 +03:00
Alexander Kuzmenkov
c0e6aa97a6
Merge pull request #24734 from ClickHouse/aku/frame-expressions
...
support expressions in window frame
2021-06-10 00:25:32 +03:00
Nikolai Kochetov
a163453e74
Merge pull request #25082 from ClickHouse/fix-24011
...
Fix crash in explain syntax and cross join.
2021-06-09 19:40:23 +03:00
Nikolai Kochetov
9e0f3e5e9e
Avoid using empty table name in identifier.
2021-06-09 13:13:13 +03:00
Anton Popov
bb6f0dfbb8
Merge pull request #24406 from CurtizJ/rewrite-functions-to-subcolumns
...
Optimize some functions to subcolumns
2021-06-09 11:07:09 +03:00
mergify[bot]
3a47feedb0
Merge branch 'master' into progress-bar
2021-06-09 08:04:48 +00:00
Azat Khuzhin
18e8f0eb5e
Add ability to push down LIMIT for distributed queries
...
This way the remote nodes will not need to send all the rows, so this
will decrease network io and also this will make queries w/
optimize_aggregation_in_order=1/LIMIT X and w/o ORDER BY faster since it
initiator will not need to read all the rows, only first X (but note
that for this you need to your data to be sharded correctly or you may
get inaccurate results).
Note, that having lots of processing stages will increase the complexity
of interpreter (it is already not that clean and simple right now).
Although using separate QueryProcessingStage looks pretty natural.
Another option is to make WithMergeableStateAfterAggregation always, but
in this case you will not be able to disable only this optimization,
i.e. if there will be some issue with it.
v2: fix OFFSET
v3: convert 01814_distributed_push_down_limit test to .sh and add retries
v4: add test with OFFSET
v5: add new query stage into the bash completion
v6/tests: use LIMIT O,L syntax over LIMIT L OFFSET O since it is broken in ANTLR parser
https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_(antlr_debug).html#fail1
v7/tests: set use_hedged_requests to 0, to avoid excessive log entries on retries
https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_flaky_check_(address).html#fail1
2021-06-09 02:29:50 +03:00
alesapin
185fb83587
Merge pull request #25059 from ClickHouse/fix_loop_aliases
...
Ban loop aliases in table definitions
2021-06-08 23:36:54 +03:00
alexey-milovidov
e25d9843d1
Merge pull request #25025 from azat/parallel-kill-mutation
...
Distinguish KILL MUTATION for different tables.
2021-06-08 21:40:53 +03:00
alesapin
11a1606c15
Less strict
2021-06-08 12:54:00 +03:00
Azat Khuzhin
33b0429dd1
Add StorageID::operator==()
2021-06-08 10:51:22 +03:00
Azat Khuzhin
d5a8a1a8a1
Mark StorageID::operator bool() as explicit
...
This will avoid bugs, like comparing StorageID w/o operator== via cast
to bool.
2021-06-08 10:51:22 +03:00
Alexey Milovidov
d6513b22cb
Merge remote-tracking branch 'origin/master' into fix-wrong-code-in-aggregate-functions
2021-06-08 03:08:03 +03:00
alesapin
5284f192ee
Ban loop aliases in table definitions
2021-06-07 23:59:38 +03:00
Ivan
579250168f
Merge branch 'master' into ast-table-identifier-2
2021-06-07 20:30:39 +03:00
Amos Bird
840895509e
Fix using aggregate projection when group by without key
2021-06-07 22:44:42 +08:00
mergify[bot]
b8dcce68b5
Merge branch 'master' into rename-const-context-ptr
2021-06-07 09:46:24 +00:00
Nikolai Kochetov
0043434d5c
Merge pull request #24894 from amosbird/notinpartitionprune
...
Allow not in be used in partition pruning
2021-06-07 12:42:48 +03:00
Nikolai Kochetov
cbd46280eb
Update Set.cpp
2021-06-07 12:36:34 +03:00
Alexey Milovidov
885ce194e0
Making fundamentals correct
2021-06-07 00:49:55 +03:00
mergify[bot]
f84ac23951
Merge branch 'master' into compression-codecs-refactoring
2021-06-06 18:02:39 +00:00
alexey-milovidov
295dc6b517
Revert "Add initial_query_start_time to query log"
2021-06-06 20:57:04 +03:00
Alexey Milovidov
6a652ef4f6
Remove a chunk of wrong code and look what will happen
2021-06-06 19:28:54 +03:00
alexey-milovidov
81a12404c7
Merge pull request #24940 from azat/settings-limit-offset-fix
...
Fix limit/offset settings for distributed queries (ignore on the remote nodes)
2021-06-06 17:39:15 +03:00
alexey-milovidov
c3baba2287
Merge pull request #24930 from amosbird/distributedfix
...
Allow shard pruning with IN literal
2021-06-06 17:36:47 +03:00
alexey-milovidov
db384a163c
Merge pull request #24388 from amosbird/initialquerystarttime
...
Add initial_query_start_time to query log
2021-06-06 16:15:37 +03:00
Alexey Milovidov
17962459f5
Merge branch 'master' into issue-16775
2021-06-06 02:18:28 +03:00
Maksim Kita
a7ca1f5999
DictionaryLoader unnecessary dictionary configuration creation fix
2021-06-05 23:37:24 +03:00
Nicolae Vartolomei
af311c8642
Add acl for move partition between shards
...
We can not easily verify permissions on destination shard
and instead we require a custom grant that can be given to
superadmins.
2021-06-05 10:41:30 +01:00
Nicolae Vartolomei
4d91dfda7e
Replace if over an enum with a switch to make it hard to miss new cases
2021-06-04 17:57:17 +01:00
mergify[bot]
d68d5e0ef1
Merge branch 'master' into rename-const-context-ptr
2021-06-04 14:41:41 +00:00
Amos Bird
fd336411ee
Allow shard pruning with IN literal
2021-06-04 21:16:15 +08:00
Nikolai Kochetov
1850f411cc
Merge pull request #24874 from amosbird/rowpolicyfix1
...
Try reusing built sets during multi-pass analysis
2021-06-04 13:22:25 +03:00
kssenii
e23bc14582
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-06-03 19:44:55 +00:00
Azat Khuzhin
8164c49f04
Fix limit/offset settings for distributed queries (ignore on the remote nodes)
2021-06-03 21:14:24 +03:00
Azat Khuzhin
578ecc1645
removeJoin: remove joined columns
2021-06-03 21:07:47 +03:00
Kruglov Pavel
8acf031c1b
Merge pull request #24398 from Avogar/fix-deltasum
...
Fix logical error AggregateFunctionFactory returned nullptr
2021-06-03 19:40:06 +03:00
Amos Bird
9dfa4c06bd
Try reusing built sets during multi-pass analysis
2021-06-03 22:06:05 +08:00
Amos Bird
df86f8ed36
Allow not in be used in partition pruning
2021-06-03 11:36:43 +08:00
alesapin
4a1bf51ad1
Merge branch 'master' into limited_fetches
2021-06-02 23:01:47 +03:00
Ivan Lezhankin
ae38b4a3f1
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-06-02 16:07:59 +03:00
Alexander Kuzmenkov
cc5465a2bd
remove const_cast that is not needed anymore
2021-06-02 15:22:05 +03:00
Alexander Kuzmenkov
ae79bbea7d
Merge remote-tracking branch 'origin/master' into HEAD
2021-06-02 15:06:22 +03:00
Nikolai Kochetov
fb1b0265b8
Merge branch 'master' into rename-const-context-ptr
2021-06-02 14:46:26 +03:00
kssenii
12ea45e956
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-06-01 17:43:34 +00:00
Nikolai Kochetov
0dc4bea16b
Update Context_fwd.h
2021-06-01 16:38:47 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
Alexander Kuzmenkov
f51ecf8a72
Merge pull request #23769 from vdimir/issue-20309
...
Add qualified names for right columns for storage join
2021-06-01 14:42:49 +03:00
alesapin
c3321bef30
Merge branch 'master' into limited_fetches
2021-06-01 13:09:02 +03:00
kssenii
de277f8ac4
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into progress-bar
2021-06-01 07:58:19 +00:00