Commit Graph

5402 Commits

Author SHA1 Message Date
Alexey Milovidov
74303e710d Changed serialization of query parameters 2020-01-03 17:10:56 +03:00
Nikolai Kochetov
833499cfb6 Merged with master. 2020-01-03 15:34:17 +03:00
Azat Khuzhin
2aba254fb6 Add backQuoteIfNeed() in InterpreterCreateQuery::setEngine() 2020-01-03 02:17:57 +03:00
Azat Khuzhin
1d44977ae2 Avoid SIGSEGV on CREATE TABLE .. AS dictionary 2020-01-03 01:54:08 +03:00
Alexander Burmak
70b3a1a0d8 Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log 2020-01-02 18:01:41 +03:00
zhang2014
9364397597 try fix some predicate optimizer bug 2020-01-02 21:14:48 +08:00
Alexey Milovidov
c1699b9555 Stack trace for every exception (experimental) 2020-01-02 10:37:13 +03:00
Alexey Milovidov
67afaa9d93 Stack trace for every exception (experimental) 2020-01-02 09:56:53 +03:00
Nikolai Kochetov
3f35d143b3 Update num threads in processors. 2020-01-01 14:15:29 +03:00
alexey-milovidov
14563da602
Merge pull request #8447 from amosbird/c++20
C++20
2019-12-31 21:06:41 +03:00
alexey-milovidov
e712b22dda
Merge pull request #8484 from ClickHouse/obsolete-mark-cache-min-lifetime
Make "mark_cache_min_lifetime" setting obsolete
2019-12-31 20:56:54 +03:00
alexey-milovidov
3adf6853d5
Merge pull request #7769 from amosbird/betterprewhere
Optimize PREWHERE
2019-12-31 09:07:02 +03:00
alexey-milovidov
17b413fd2e
Merge pull request #8458 from vitlibar/separate-variables-for-database-and-name
Separate variables for database and name in dictionaries.
2019-12-31 07:39:01 +03:00
Alexey Milovidov
3339b8e0e5 Make "mark_cache_min_lifetime" setting obsolete 2019-12-31 05:47:10 +03:00
Alexey Milovidov
6e74bea7ea Added setting "optimize_if_chain_to_miltiif" 2019-12-31 03:00:41 +03:00
Vitaly Baranov
037eb85972 Automatic removing of config repositories to simplify the code. 2019-12-31 06:30:27 +07:00
Alexey Milovidov
6540eda331 Improvements, part 1 2019-12-31 01:24:19 +03:00
Alexey Milovidov
5b0966d585 Merge branch 'master' of https://github.com/kamalov-ruslan/ClickHouse into kamalov-ruslan-master 2019-12-31 00:31:20 +03:00
Alexander Tokmakov
3687900848 Merge branch 'master' into table_name_in_istorage 2019-12-30 21:30:24 +03:00
Alexander Tokmakov
f19bb041b4 add asserts on invalid StorageID 2019-12-30 21:20:43 +03:00
Alexander Tokmakov
250f170a69 Merge branch 'master' into table_name_in_istorage 2019-12-30 14:08:09 +03:00
Vitaly Baranov
1fa64a2a86 Use separate variables for the database and name in dictionaries. 2019-12-29 23:48:10 +07:00
alesapin
247906a4d7 Move check alter to alter interpreter 2019-12-29 14:09:10 +03:00
alexey-milovidov
15c67f0a0e
Merge branch 'master' into refactor_databases 2019-12-29 03:52:07 +03:00
Ruslan
af2b17fbcb add tests and fix build 2019-12-29 01:08:18 +03:00
Amos Bird
bbc736f2d9
c++20! 2019-12-29 03:08:25 +08:00
alesapin
10312a1d88 Merge with master 2019-12-28 12:56:14 +03:00
alexey-milovidov
9e8c3acffc
Merge pull request #8442 from ClickHouse/ddlworker-trash
Removed trash from DDLWorker
2019-12-28 01:27:53 +03:00
alesapin
c48f892e13 Merge with master 2019-12-27 23:12:54 +03:00
alexey-milovidov
d989604d33
Merge pull request #8242 from achimbab/bugfix_bloomfilter
Fixed two bugs in the bloom_filter index.
2019-12-27 22:46:54 +03:00
Ruslan
bd01bdad97 git is hard(( 2019-12-27 22:45:41 +03:00
Ruslan
8ff8e8e7f5 trying to fix git 2019-12-27 22:42:14 +03:00
Alexander Tokmakov
94931f059d minor improvements 2019-12-27 22:30:22 +03:00
Alexey Milovidov
eb04f0ea84 Removed trash from DDLWorker 2019-12-27 22:30:13 +03:00
Ruslan
0fbbdbab24 working on git fix 2019-12-27 22:25:01 +03:00
Ruslan
a7f2f8bb61 codestyle fix, bug fix 2019-12-27 21:52:18 +03:00
Ruslan
366171a959 Merge branch 'master' of github.com:yandex/ClickHouse 2019-12-27 21:37:53 +03:00
Alexey Milovidov
cb3a5b26f7 Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete 2019-12-27 21:12:30 +03:00
Alexander Tokmakov
a2a155dcbd Merge branch 'master' into table_name_in_istorage 2019-12-27 15:47:29 +03:00
Alexander Tokmakov
8987b027ba fixes 2019-12-27 15:18:49 +03:00
Alexander Burmak
f13f4c1617 Fixed merge issues 2019-12-27 12:49:23 +03:00
alesapin
ccb4ad450c Merge branch 'master' into refactor_alter 2019-12-27 12:07:20 +03:00
Alexander Burmak
170bcf041a Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log 2019-12-27 09:55:54 +03:00
Vitaly Baranov
b75771be61
Merge pull request #7808 from vitlibar/RBAC-3
RBAC-3
2019-12-27 09:44:24 +07:00
alexey-milovidov
89eeaa50e9
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete 2019-12-26 22:16:50 +03:00
alexey-milovidov
6b997a0c61
Merge pull request #8288 from PerformanceVision/reload_dictionary
Implement ON CLUSTER syntax when we want to reload a dictionary
2019-12-26 22:05:41 +03:00
alesapin
d341b648d2 Better alter 2019-12-26 21:17:05 +03:00
Alexander Tokmakov
42296cc80a remove separate getTableName() and getDatabaseName() 2019-12-26 21:11:49 +03:00
Alexander Tokmakov
ef129b4b7c use StorageID in views 2019-12-26 20:59:47 +03:00
Alexander Tokmakov
9319863a59 refactor table dependencies 2019-12-26 20:23:24 +03:00
Alexander Tokmakov
2e5d61cd81 better constructors of storages 2019-12-26 20:04:08 +03:00
Nikolai Kochetov
5a5d15c095 Enable quota for more processors. 2019-12-26 19:52:15 +03:00
Alexander Tokmakov
cf5c998b30 refactor storage name 2019-12-26 19:23:38 +03:00
Nikolai Kochetov
9d9ab833b7 Add threads quota for processors. 2019-12-26 19:15:31 +03:00
Alexander Burmak
764b506fd5 Merge remote-tracking branch 'refs/remotes/upstream/master' into vfs_log 2019-12-26 17:03:32 +03:00
Alexander Tokmakov
50200e245b Merge branch 'master' into refactor_databases 2019-12-26 15:00:07 +03:00
alesapin
093d56f474
Merge pull request #8382 from ClickHouse/relative_paths_in_storages
Use relative paths in Storages
2019-12-26 13:05:37 +03:00
Nikolai Kochetov
438ea5bc22
Remove context from formats (#8388)
* Remove Context from formats.
2019-12-25 22:17:41 +03:00
tavplubix
982da98e60
Update InterpreterDropQuery.cpp 2019-12-25 20:36:13 +03:00
Alexander Tokmakov
f2d98731ae remove getCreate from Context 2019-12-25 19:33:26 +03:00
Alexander Tokmakov
01de226df0 abstract path to table data 2019-12-25 19:18:08 +03:00
Alexander Tokmakov
7c48396689 refactor databases: inherit from DatabaseOnDisk 2019-12-25 16:23:38 +03:00
alesapin
3b6e3db0c2 Remove redundant alter_lock, because parts cannot be altered concurrently. 2019-12-25 15:34:04 +03:00
alexey-milovidov
1150169e55
Merge pull request #8385 from 4ertus2/joins
Relax ambiguous column check for multiple JOIN ON section
2019-12-25 01:28:17 +03:00
chertus
afaf860810 relax ambiguous column check for multiple JOIN ON section 2019-12-24 21:51:37 +03:00
Alexander Tokmakov
60a47c3453 Merge branch 'master' into relative_paths_in_storages 2019-12-24 19:58:34 +03:00
tavplubix
7c1a6c726d
Merge pull request #8359 from ClickHouse/more_readable_interpreter_create
Refactor table creation
2019-12-24 18:07:43 +03:00
Alexander Tokmakov
4f58d662f7 make data path relative 2019-12-23 18:20:08 +03:00
Ruslan
ec04f54d14 OptimizeIfChains added 2019-12-23 18:08:18 +03:00
Alexander Burmak
0894ed9f33 Integration of log storages with IDisk interface 2019-12-23 16:11:56 +03:00
Guillaume Tassery
483d6287eb cosmetic 2019-12-23 07:22:51 +01:00
Guillaume Tassery
15fb9ad6de
Merge branch 'master' into reload_dictionary 2019-12-23 10:46:02 +07:00
Alexey Milovidov
c78443d939 Avoid using query_id from old threads 2019-12-22 23:50:33 +03:00
alexey-milovidov
fee9fda34c
Merge pull request #8130 from CurtizJ/optimize-storage-merge
Implement ORDER BY optimization for Storage Merge.
2019-12-22 12:43:18 +03:00
CurtizJ
d941643416 fix build 2019-12-22 05:44:04 +03:00
VDimir
cc5af3174e Update async methics at program srartup 2019-12-21 17:48:35 +00:00
alexey-milovidov
0d119a40eb
Merge pull request #8240 from vitlibar/sync-system-reload-dictionary
Synchronous system reload dictionary
2019-12-20 20:00:03 +03:00
CurtizJ
75c5e02ec2 improve input order analyzing and turn on order by optimization with left/inner joins 2019-12-20 16:15:17 +03:00
Alexander Tokmakov
9041977bb6 InterpreterCreateQuery code cleanup 2019-12-20 15:51:51 +03:00
Alexander Tokmakov
10ad22faea refactor InterpreterCreateQuery::createTable(...) 2019-12-20 15:51:51 +03:00
alexey-milovidov
7f10630873
Merge pull request #8308 from ClickHouse/deprecate-merge_tree_uniform_read_distribution
Deprecate "merge_tree_uniform_read_distribution" setting
2019-12-20 15:28:34 +03:00
philip.han
0b79811d8e Fixed referencing invalid offset in bloom_filter with array. 2019-12-20 20:33:27 +09:00
alexey-milovidov
de01dd12b5
Merge pull request #8306 from ClickHouse/fix_rename_distributed
Fix rename distributed
2019-12-20 04:38:21 +03:00
alexey-milovidov
3ba09ed589
Merge pull request #8298 from 4ertus2/joins
Fix engine join crash
2019-12-20 04:12:43 +03:00
Alexey Milovidov
9ce8d5fe54 Deprecate "merge_tree_uniform_read_distribution" setting 2019-12-20 01:38:05 +03:00
Alexey Milovidov
3d2af60ad2 Minor style improvement 2019-12-20 00:29:37 +03:00
chertus
b5658ef1a3 remove qualification in StorageJoin JOIN case 2019-12-19 23:37:10 +03:00
Alexander Tokmakov
d1568c1614 fix rename distributed 2019-12-19 22:51:12 +03:00
chertus
c72b0d4e2a fix engine join crash [wip] 2019-12-19 18:50:28 +03:00
Vitaly Baranov
c3161b7610 Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
Vitaly Baranov
9f5ab54fc2 Rework RowPolicy based on IAccessEntity. 2019-12-19 13:37:02 +03:00
Guillaume Tassery
d5d8fd7004 refactor target_table to table for better hemogny 2019-12-19 10:27:12 +01:00
philip.han
89039abf69 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into bugfix_bloomfilter 2019-12-19 17:18:29 +09:00
Guillaume Tassery
9e808e4a0d Let the command SYSTEM RELOAD DICTIONARY to use ON CLUSTER syntax 2019-12-19 08:54:43 +01:00
Guillaume Tassery
d5b4b40b4e Add parser 2019-12-19 04:46:20 +01:00
Vitaly Baranov
41b0ba98dd SYSTEM RELOAD db.dict syntax is now supported. 2019-12-19 03:38:24 +03:00
Vitaly Baranov
68187b5e08 Getting from a dictionary isn't blocked until SYSTEM RELOAD is finished. 2019-12-19 03:22:58 +03:00
Alexey Milovidov
766aced61c Merge branch 'master' of github.com:yandex/ClickHouse into update-llvm-bisect 2019-12-19 00:36:18 +03:00
Amos Bird
630ef97854 Allow table identifier as the first arg to joinGet (#7707) 2019-12-18 23:36:51 +03:00
Alexey Milovidov
b90b090040 Addition to prev. revision 2019-12-18 08:26:17 +03:00