pufit
330a206470
Add definers for views (Attempt 2) ( #60439 )
2024-02-27 19:00:17 -05:00
Raúl Marín
464b5e0e15
Revert "Add definers for views ( #54901 )"
...
This reverts commit 57306706b3
.
2024-02-23 12:44:31 +01:00
pufit
57306706b3
Add definers for views ( #54901 )
2024-02-22 17:47:50 +01:00
Robert Schulze
1bfeee1954
Some fixups
2024-01-18 20:49:50 +00:00
Duc Canh Le
22afcd46f4
add ALTER COLUMN MODIFY/RESET SETTING
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-18 05:17:07 +00:00
Duc Canh Le
ac76eecb1e
Merge branch 'master' into column_level_compress_block
...
Resolve conflicts
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-14 09:32:43 +00:00
Michael Kolupaev
dda0606f67
Things
2023-12-28 17:56:05 +00:00
Alexander Tokmakov
38fe70c68a
Revert "Refreshable materialized views (takeover)"
2023-12-28 13:12:20 +01:00
Michael Kolupaev
ef4cc5ec7f
Things
2023-12-27 20:24:55 +00:00
Duc Canh Le
c3ffce1491
Merge branch 'master' into column_level_compress_block
...
Resolve conflicts
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-12-18 11:03:44 +00:00
Han Fei
19cdc6dfe2
Merge branch 'master' into hanfei/statistic
2023-10-30 04:53:18 +01:00
alesapin
ab09aee754
Initial implementation
2023-10-10 19:59:48 +02:00
Duc Canh Le
8e374882cc
support ALTER table MODIFY column REMOVE SETTING ..
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-05 09:16:29 +00:00
Duc Canh Le
4ff4b0a84b
column-level settings: alter-able
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-02 05:59:21 +00:00
Han Fei
17243b84ab
Merge branch 'master' into hanfei/statistic
2023-09-19 17:09:17 +02:00
Han Fei
ddcb64f39f
update docs and refine statements
2023-09-08 02:27:17 +02:00
Alexander Sapin
a176c38876
Fix tests with database replicated
2023-09-06 14:17:46 +02:00
Han Fei
2330a28f7b
support estimate by stat
2023-09-04 15:51:00 +02:00
Han Fei
f5c9d278ad
use statistic to order prewhere conditions better
2023-08-09 22:57:49 +02:00
Anton Popov
d9aabb48c3
remove useless code
2023-01-25 16:11:15 +00:00
HarryLeeIBM
e7add8218f
Addressed more review comments and ClangTidy errors
2023-01-17 06:29:13 -08:00
Larry Luo
3b6c46dc68
Fix build error
2023-01-01 06:11:31 -08:00
alesapin
fa467b3398
Minor code polishing
2022-12-22 14:31:42 +01:00
zhongyuankai
a6254516e0
Fix Alter ttl modification unsupported table engine
2022-01-24 21:48:52 +08:00
Anton Popov
476d7a411f
allow to remove SAMPLE BY expression
2021-10-14 17:05:20 +03:00
Vasily Nemkov
cb1ca9b33e
Implemented modifying table comments with ALTER TABLE t MODIFY COMMENT 'value'
2021-09-23 01:14:00 +03:00
kssenii
710c8d12dd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-15 12:28:09 +03:00
kssenii
f26da04cdf
Fix checks
2021-09-09 09:53:58 +03:00
kssenii
bed2688dad
Review fixes
2021-09-09 01:25:08 +03:00
Mike Kot
8e9aacadd1
Initial: replacing hardcoded toString for enums with magic_enum
2021-09-06 16:24:03 +02:00
kssenii
4cd62227cf
Almost done
2021-08-28 17:34:23 +03:00
Alexander Tokmakov
42a8bb6872
fix assertions in Replicated database
2021-08-02 16:19:11 +03:00
alexey-milovidov
51bf60a938
Merge pull request #17769 from xjewer/alex/remove_engine_setting
...
CLICKHOUSE-784: reset merge tree setting
2021-07-03 18:27:15 +03:00
Aleksei Semiglazov
9a5365fc41
CLICKHOUSE-784: reset merge tree setting
...
Add an ability to reset custom setting to default and remove it from table's metadata.
This will allow to rollback the change without knowing the system/config's default.
Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
2021-07-01 20:09:54 +01:00
Aleksei Semiglazov
f47e1ff102
CLICKHOUSE-1194: add skipping index to the beginning of the list
...
add the FIRST keyword to the ADD INDEX command to be able to add index in the beginning of the list.
Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
2021-07-01 19:37:48 +01: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
Alexey Milovidov
e905883c75
More fixes for PVS-Studio
2021-05-08 19:12:31 +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
alesapin
5ffee8808a
Alter remove column properties and TTLs ( #14742 )
2020-09-20 16:27:33 +03:00
alesapin
2c4047b280
Revert accident changes
2020-09-11 20:07:00 +03:00
alesapin
a5f8899874
First implementation
2020-09-11 20:04:55 +03:00
alesapin
10c7a6c45e
Add ability to specify Default codec for columns ( #14049 )
...
* Add ability to specify DefaultCompression codec which correspond to settings specified in config.xml
* Fix style
* Rename DefaultCompression to simple Default
* Fix compression codec
* Better codec description representation
* Less strange code and one method
* Fix delta
2020-08-28 20:40:45 +03:00
Amos Bird
078b14610d
ALTER MODIFY SAMPLE BY
2020-08-27 22:31:30 +08:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
alesapin
be106b662e
Comment and style
2020-07-21 18:19:41 +03:00
zhang2014
9ed5c6d925
ISSUES-4006 support first for ALTER ADD|MODIFY COLUMN
2020-07-01 22:58:52 +08:00
alesapin
52ca6b2051
I'm able to build it
2020-05-28 15:37:05 +03:00
alesapin
cbcdb6219e
Slighty more verbose comment
2020-05-22 11:17:57 +03:00
Anton Popov
d62fe980ef
Merge remote-tracking branch 'upstream/master' into modify-ttl
2020-05-20 16:52:30 +03:00
alesapin
70e5553204
At least something works
2020-05-19 12:54:56 +03:00