Alexey Milovidov
2016374d20
Merging #2226
2018-08-05 10:05:43 +03:00
VadimPE
b97fa2eb4d
CLICKHOUSE-3714 bool ckeck_CanBeDropped -> void ...
2018-08-03 12:39:01 +03:00
VadimPE
6142d9ae6a
CLICKHOUSE-3714 fix function names and get partition size
2018-08-03 11:33:57 +03:00
VadimPE
98c33de4e3
CLICKHOUSE-3714
2018-08-02 12:03:38 +03:00
VadimPE
08fe108ba8
CLICKHOUSE-3714 fix methods name
2018-08-02 11:48:57 +03:00
VadimPE
66d9ba3eb7
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-01 20:41:18 +03:00
Alexey Milovidov
cc2250f688
Attempt to get rid of VirtualColumnFactory (part 1) [#CLICKHOUSE-3806]
2018-07-05 22:56:51 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
Alexey Milovidov
6475ea98c7
Merging: Fixed most of problems, actualized test #2260
2018-06-09 21:17:27 +03:00
Alexey Milovidov
d56c199f07
Merging: Fixed half of problems #2260
2018-06-09 18:48:22 +03:00
zhang2014
6613e56784
ISSUES-2259 support truncate syntax
2018-05-21 11:38:46 +08:00
Nikolai Kochetov
a3308bf675
added IStorage::getQueryProcessingStage
2018-04-19 17:47:09 +03:00
Alexey Zatelepin
86d53b34a5
forward ALTER PARTITION statements for materialized views [#CLICKHOUSE-3659]
2018-03-20 16:44:36 +03:00
Alexey Milovidov
b5e4d0692a
Disallow PREWHERE, SAMPLE, FINAL in MATERIALIZED VIEWs [#CLICKHOUSE-2].
2018-03-16 04:23:37 +03:00
Alexey Zatelepin
71642b0880
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
2018-03-12 22:07:48 +03:00
zhang2014
c400613f03
Merge branch 'master' into fix/ISSUES-369
2018-03-02 18:55:15 +08:00
zhang2014
54cba2f5a6
Fix exist subquery when create materializer view
2018-03-02 01:05:03 +08:00
Alexey Milovidov
88b01e867d
Better UNION ALL: development #1947
2018-02-25 10:39:45 +03:00
Alexey Milovidov
6e93635275
Better UNION ALL: development #1947
2018-02-25 09:35:24 +03:00
zhang2014
5f0ecd7fbd
ISSUES-369 fix restart error
2018-02-16 15:47:35 +08:00
zhang2014
cfb2efbaa6
ISSUES-369 add default database when create materialize view
2018-02-16 15:10:42 +08:00
Vitaliy Lyudvichenko
d5fd8b9b5f
Fix DROP MV with max_table_size_to_drop. [#CLICKHOUSE-3]
...
Resolves #1863
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
26e58271e9
Removed repeatable columns field from Storages declarations. [#CLICKHOUSE-2]
2018-01-25 17:42:39 +03:00
Alexey Milovidov
9f57a1f7a5
Fixed error: if default user had readonly accesss, the server could not start [#CLICKHOUSE-2]
2018-01-19 02:40:32 +03:00
Alexey Milovidov
ffca152c45
Inverted dependencies in StorageFactory [#CLICKHOUSE-2].
2017-12-30 07:00:39 +03:00
Alexey Milovidov
fcdd5de47d
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
c89041ce63
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Alexey Milovidov
a85b2e5a95
Removed questionable code [#CLICKHOUSE-2].
2017-12-26 00:10:46 +03:00
Marek Vavruša
6d4f106f11
StorageMaterializedView: update dependencies on DETACH TABLE
...
Previously the dependencies were updated only on DROP TABLE, so
detaching a materialized view and inserting to source table thrown an exception.
2017-12-21 00:46:50 +03:00
Alexey Zatelepin
f2ebffb7f0
save TO table of a materialized view to the ATTACH query [#CLICKHOUSE-2]
2017-10-30 21:39:39 +03:00
Vitaliy Lyudvichenko
4a55e5f94b
Hotfix of CREATE MATERIALIZED VIEW a TO b. [#CLICKHOUSE-2]
2017-10-30 15:14:36 +03:00
Alexey Milovidov
5ab78c249d
Fixed build after merge [#CLICKHOUSE-2].
2017-10-28 00:18:06 +03:00
alexey-milovidov
9e200bdfd9
Merge branch 'master' into materialized-view-to
2017-10-27 23:21:27 +03:00
Vitaliy Lyudvichenko
51265506f8
Convey session setting up to inner table creation for MV. [#CLICKHOUSE-3381]
2017-10-26 18:39:56 +03:00
Vitaliy Lyudvichenko
a0d06c5ee0
Don't deduplicate a block inserted from MV if the source block is Ok. [#CLICKHOUSE-3381]
2017-10-26 17:58:00 +03:00
Alexey Zatelepin
01c39dcf1c
fix CREATE TABLE bugs and idiosyncrasies: [#CLICKHOUSE-3000]
...
* fix segfault on ATTACH MATERIALIZED VIEW
* allow only TEMPORARY TABLEs (not databases or views)
* forbid choosing ENGINE for TEMPORARY tables
* fix segfault on CREATE TABLE t1 AS t2 where t2 is a View
2017-10-26 07:53:52 +03:00
alexey-milovidov
b5155916a8
Merge branch 'master' into materialized-view-to
2017-10-24 22:39:24 +03:00
Marek Vavruša
975a7ada42
StorageMaterializedView: allow CREATE MATERIALIZED VIEW x TO y
...
This allows creation of materialized views without inner tables,
using an existing table for materialized rows instead.
This is useful for cases when you want to detach the materializing
view, but keep the already materialized data readable, especially
when the inner table is replicated.
2017-10-21 13:34:59 -07:00
Alexey Zatelepin
1f76900500
move CREATE query rewriting for views to Interpreter [#CLICKHOUSE-2]
2017-10-20 21:28:43 +03:00
Alexey Zatelepin
48dea685d0
use more typesafe AST objects in ASTCreateQuery [#CLICKHOUSE-3000]
2017-10-20 21:28:41 +03:00
Alexey Zatelepin
68cb592277
allow arbitrary partition literals in ALTER PARTITION queries [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
14ba0a9acf
rename partition -> partition_id for clarity [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Vitaliy Lyudvichenko
e52428ddb2
Fixed SIGSEGV in CREATE TABLE AS <MV>. MV without ENGINE is forbidden! [#CLICKHOUSE-2]
...
Resolves #1112
Resolves #598
2017-08-19 00:10:53 +03:00
Alexey Milovidov
d57f5b81a4
Removed MaterializedView inheritance of View, as they are not related. Fixed error with Views [#CLICKHOUSE-3175].
2017-07-26 00:07:05 +03:00
Alexey Milovidov
9406b6a5aa
Get rid of ASTSet, because it is not really an AST and it lead to bugs [#CLICKHOUSE-3148].
2017-07-15 06:48:36 +03:00
Nikolai Kochetov
75be0b81d8
removed typeid_cast from IColumn.h
2017-07-13 23:58:19 +03:00
Alexey Milovidov
a48a21f593
Merge branch 'master' into CLICKHOUSE-2896
2017-06-26 11:54:58 +03:00
Alexey Milovidov
3c660fd65b
Fixed translation errors [#CLICKHOUSE-3091].
2017-06-25 03:17:08 +03:00
Vitaliy Lyudvichenko
99f502d5e0
Support OPTIMIZE query on non-leader replica. [#CLICKHOUSE-2]
2017-06-22 18:01:08 +03:00
Alexey Milovidov
80080f1ad6
Small refinements [#CLICKHOUSE-2].
2017-06-02 18:54:39 +03:00
Alexey Milovidov
a77369d082
Preparation: Storages do not modify query [#CLICKHOUSE-31].
2017-05-25 04:12:41 +03:00
Alexey Milovidov
48f65e9097
Preparation: untangling [#CLICKHOUSE-31].
2017-05-25 00:06:29 +03:00
Alexey Milovidov
ce581bbf35
Preparations, part 3 [#CLICKHOUSE-31].
2017-05-23 21:33:48 +03:00
Alexey Milovidov
0f252046ca
Preparations [#CLICKHOUSE-2]
2017-05-22 01:25:25 +03:00
Yuri Dyachenko
10082f3ef4
support DEDUPLICATE option in OPTIMIZE query
2017-04-17 21:15:14 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
26788e3938
Formatting [#CLICKHOUSE-2].
2017-03-13 21:01:46 +03:00
Alexey Milovidov
a6a18db6da
Merge branch 'translate/comments' of https://github.com/f1yegor/ClickHouse into f1yegor-translate/comments
2017-03-13 20:51:22 +03:00
f1yegor
401425bb89
translate comments
2017-03-12 20:18:07 +01:00
proller
b6e01cd47e
Fix isolated usage of all .h files, move some code to .cpp ( #578 )
...
* split ColumnAggregateFunction.h
* format
* Allow use re2_st without cmake
* use std type in find_first_symbols.h
* fix ArrayEvaluator.h
* include fixes
* split ColumnConstAggregateFunction.h
* fix StorageMaterializedView.h
* split AddingDefaultBlockOutputStream.h
* move CSVRowInputStream::updateDiagnosticInfo to .cpp
* split ParserEnumElement.h
* format
* split DB/Parsers/ParserUseQuery.h
* clean
2017-03-11 04:27:59 +04:00
artpaul
903e1eab98
#200 : remove dependency to the view if backend storage can't be created
2017-01-09 01:34:40 +05:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
Alexey Milovidov
6a51b999da
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:50:16 +03:00
Alexey Milovidov
8c4abcdd43
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:42:22 +03:00
Alexey Milovidov
093f69c45d
Added support for FINAL and PARTITION specification for OPTIMIZE query [#METR-21326].
2016-05-16 21:43:38 +03:00
Alexey Milovidov
43d323013c
Fixed error [#METR-19997].
2016-03-23 00:26:13 +03:00
Alexey Milovidov
13c7d0983a
dbms: cutting dependency [#METR-2944]..
2016-01-12 00:46:36 +03:00
Alexey Milovidov
a26a43fcc0
dbms: quorum inserts: development [#METR-16779].
2015-09-10 23:43:42 +03:00
Alexey Milovidov
7f2fddeed2
dbms: fixed error in materialized views after refactoring [#METR-16945].
2015-06-23 02:17:49 +03:00
Alexey Milovidov
0719320758
dbms: improvement [#METR-2944].
2015-06-18 05:11:05 +03:00
Alexey Arno
96f33e9238
dbms: Server: Code cleanups. [#METR-15090]
2015-04-14 17:58:59 +03:00
Alexey Arno
d35e4d0e4d
dbms: Server: Code cleanups. [#METR-15090]
2015-04-14 16:44:38 +03:00
Alexey Arno
c7ab47d84d
dbms: Server: min_bytes_to_use_direct_io = 0 means no AIO; various cleanups. [#METR-15090]
2015-04-10 20:09:16 +03:00
Alexey Arno
5cd9ed0582
dbms: Server: Added support for the client-side parameter min_bytes_to_use_direct_io in OPTIMIZE. [#METR-15090]
2015-04-10 18:31:51 +03:00
Andrey Mironov
3ebfd2fb7f
dbms: pass proper context into Storage::read(). [#METR-14179]
...
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
49e322a045
Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
...
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
fc9472ba47
dbms: pass proper context into Storage::read(). [#METR-14179]
2014-12-16 15:40:25 +03:00
Andrey Mironov
220ce78326
dbms: support ALIAS in table declaration
2014-10-03 19:30:10 +04:00
Andrey Mironov
8052020218
add draft version of DEFAULT, MATERIALIZED/ALIAS currently parsed but not taken into account. [#METR-12739]
2014-09-30 07:08:47 +04:00
Michael Kolupaev
917f312a95
dbms: materialized views pass virtual columns through. [#METR-12150]
2014-08-06 13:25:41 +04:00
Michael Kolupaev
dfb21bcaff
fixed segfault when creating materialized views. [#METR-11886]
2014-07-14 18:26:11 +04:00
Alexey Milovidov
108a7850a5
dbms: improved performance on short queries [#METR-11571].
2014-06-26 04:58:14 +04:00
Sergey Fedorov
e7756b8acc
dbms: fixed bug on droping database with materialized view [METR-10848]
2014-04-15 18:00:33 +04:00
Michael Kolupaev
6df8500852
Fixed dropping tables. [#METR-10202]
2014-03-20 17:28:49 +04:00
Sergey Fedorov
ac21314784
dbms: Couple of unimportant fixes (includes, code simplification) in View and Materialized View [#METR-9076]
2013-11-15 09:43:50 +00:00
Sergey Fedorov
13bd27c498
dbms: View and Materialized View fixes, logic updates, implementation [#METR-9076]
2013-11-13 14:39:48 +00:00
Sergey Fedorov
b6b40d4c4e
dbms: View and Materialized View implementation [#METR-9076]
2013-11-08 17:43:03 +00:00