Vasily Nemkov
cb1ca9b33e
Implemented modifying table comments with ALTER TABLE t MODIFY COMMENT 'value'
2021-09-23 01:14:00 +03:00
tavplubix
922cf7ee20
Merge pull request #28373 from ClickHouse/tables_topsort
...
Resolve table dependencies on metadata loading
2021-09-20 14:46:47 +03:00
Alexander Tokmakov
df56e99b87
fixes after review
2021-09-13 22:11:16 +03:00
kssenii
bed2688dad
Review fixes
2021-09-09 01:25:08 +03:00
kssenii
76e49334fa
Minor fixes
2021-09-05 01:59:44 +03:00
Alexander Tokmakov
024a24aaf7
better code, moar logging
2021-09-02 12:19:37 +03:00
Alexander Tokmakov
b387f05d9c
resolve table dependencies on metadata loading
2021-08-30 22:29:22 +03:00
tavplubix
e9ff0b6d70
Merge pull request #23657 from kssenii/poco-file-to-std-fs
...
Poco::File to std::filesystem
2021-05-31 23:17:02 +03:00
Nikolai Kochetov
afc1fe7f3d
Make ContextPtr const by default.
2021-05-31 17:49:02 +03:00
kssenii
0a3589524e
File movement
2021-05-29 00:57:53 +03:00
kssenii
2a631aaf08
Final fixes
2021-05-29 00:34:44 +03:00
kssenii
096d117f68
Review fixes
2021-05-22 00:12:46 +03:00
kssenii
5f083b779d
A little better, fix checks
2021-05-18 14:25:19 +03:00
kssenii
0527f0ea33
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-12 16:54:18 +03:00
kssenii
81797393f1
fs::last_write_time, fs::space
2021-05-12 09:19:11 +03:00
Amos Bird
264cff6415
Projections
...
TODO (suggested by Nikolai)
1. Build query plan fro current query (inside storage::read) up to WithMergableState
2. Check, that plan is simple enough: Aggregating - Expression - Filter - ReadFromStorage (or simplier)
3. Check, that filter is the same as filter in projection, and also expression calculates the same aggregation keys as in projection
4. Return WithMergableState if projection applies
3 will be easier to do with ActionsDAG, cause it sees all functions, and dependencies are direct (but it is possible with ExpressionActions also)
Also need to figure out how prewhere works for projections, and
row_filter_policies.
wip
2021-05-11 18:12:23 +08:00
kssenii
ab1a05a1f4
Poco::Path to fs::path, less concatination
2021-05-09 14:59:49 +03:00
kssenii
35f999bf04
Poco::createFile to fs::createFile
2021-05-08 02:41:47 +03:00
kssenii
6e0cfdaeb5
Update Databases/* part 2
2021-04-30 20:24:36 +03:00
Maksim Kita
43680d8ced
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
561b045991
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
2e3e90b25b
Fixed tests
2021-04-26 13:52:41 +03:00
Maksim Kita
e5079c87db
Added test
2021-04-26 13:52:41 +03:00
Maksim Kita
3cb4d1bdcb
Fixed style check
2021-04-26 13:52:41 +03:00
Maksim Kita
a9917a6540
Refactored StorageDictionary
2021-04-26 13:52:41 +03:00
Alexander Tokmakov
ebf0a3119e
fix data_type_default_nullable on attach
2021-04-16 13:29:33 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Alexander Tokmakov
00b939e5a3
fix
2021-03-09 13:24:08 +03:00
Alexander Tokmakov
5c5d11cfce
enable some tests
2021-03-09 03:48:37 +03:00
Alexander Tokmakov
7b54b892b5
fix
2021-02-16 17:05:58 +03:00
Alexander Tokmakov
c9cf63e958
fix
2021-02-12 01:23:40 +03:00
Alexander Tokmakov
15256d86e5
better replica recovery and queue cleanup
2021-02-10 23:30:40 +03:00
Alexander Tokmakov
78c1d69b8c
better code
2021-02-08 22:36:17 +03:00
Alexander Tokmakov
7f97a11c84
Merge branch 'master' into database_replicated
2021-01-18 17:09:39 +03:00
spongedc
494c9ac809
Merge remote-tracking branch 'origin/master' into support_show_create_view
2020-12-29 10:20:06 +08:00
Alexander Tokmakov
42911e2438
implement CREATE OR REPLACE TABLE
2020-12-25 19:32:09 +03:00
Yatsishin Ilya
ce1e2b18a3
Fix codespell warnings. Split style checks. Update style checks docker
2020-12-24 13:17:52 +03:00
spongedc
a277308ac6
Merge remote-tracking branch 'origin/master' into support_show_create_view
2020-12-23 11:56:46 +08:00
spongedc
38c0827881
Merge remote-tracking branch 'origin/master' into support_show_create_view
2020-12-16 12:26:56 +08:00
spongedc
a0083e23d6
Fix compile error
2020-12-16 12:07:50 +08:00
Mikhail Filimonov
9df7ecb8e6
fixes
2020-12-15 18:06:23 +01:00
Mikhail Filimonov
27ff3a5214
Rework using a separate flag file instead of renames
2020-12-15 15:46:13 +01:00
Mikhail Filimonov
24abcc970b
Tests and fixes
2020-12-14 15:31:13 +01:00
Mikhail Filimonov
87ea1528cb
support for Lazy database
2020-12-14 15:31:13 +01:00
Mikhail Filimonov
799141362d
Prevent attempts to recreate the table which was detached permanently
2020-12-14 15:31:11 +01:00
Mikhail Filimonov
f6097cf818
Adding DETACH TABLE PERMANENTLY
2020-12-14 15:28:59 +01:00
Alexander Tokmakov
f1a52a609b
separate DatabaseReplicatedDDLWorker
2020-11-27 17:04:03 +03:00
Alexander Tokmakov
dce0bf8efc
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-11-24 15:28:31 +03:00
Alexander Tokmakov
7ab4445e99
try another approach
2020-11-20 19:06:27 +03:00
Alexander Tokmakov
0731bfb7be
Merge branch 'master' into database_replicated
2020-11-12 21:04:18 +03:00