Vxider
ac0468d389
Merged with master
2021-05-28 09:14:55 +00:00
Vxider
ad05f4f303
Merged with master
2021-05-28 07:36:19 +00:00
mergify[bot]
970243850f
Merge branch 'master' into ast-table-identifier-2
2021-05-21 12:56:49 +00:00
Nikita Vasilev
6102ea643a
Merge remote-tracking branch 'upstream/master' into nikvas0/simple_optimizations
2021-05-16 19:51:41 +03:00
feng lv
8c82e3f1b9
fix style
...
fix
2021-05-14 15:50:05 +00:00
Ivan Lezhankin
bd16dd22b9
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-05-14 15:40:33 +03:00
feng lv
c6f8ab9826
fix
2021-05-13 02:05:53 +00:00
Amos Bird
dfa5629071
Remove projection type ast
2021-05-11 18:12:29 +08: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
Nikita Vasilev
0ec2726bf3
Merge remote-tracking branch 'upstream/master' into nikvas0/simple_optimizations
2021-04-26 17:33:32 +03:00
feng lv
3916870100
fix
...
fix
fix
2021-04-23 14:01:19 +00:00
feng lv
4ffe199d39
Implement table comments
2021-04-23 12:18:23 +00:00
Ivan Lezhankin
3da3250bfd
Merge branch 'master' into ast-table-identifier-2
2021-04-09 17:56:15 +03:00
Alexander Tokmakov
2484781070
fix MV recovery in Replicated db
2021-03-08 20:26:38 +03:00
Nikita Vasilev
728c9ccb6d
Merge remote-tracking branch 'upstream/master' into nikvas0/simple_optimizations
2021-03-05 19:17:01 +03:00
Vitaliy Zakaznikov
3de4690450
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into live_view_periodic_refresh
2021-01-29 19:57:13 -05:00
Alexey Milovidov
858c2a474a
Do not throw from Parser
2021-01-05 00:28:57 +03:00
Nikita Vasilev
4c3e83ac57
fix
2021-01-03 18:02:00 +03:00
Ivan Lezhankin
5e89145a42
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-12-30 13:04:17 +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
Ivan Lezhankin
2fe6195577
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-12-16 14:50:36 +03:00
spongedc
38c0827881
Merge remote-tracking branch 'origin/master' into support_show_create_view
2020-12-16 12:26:56 +08:00
spongedc
81b0fa2989
1. rename is_view to is_ordinary_view 2. add more tests
2020-12-16 11:19:38 +08:00
Maksim Kita
5f7c867da3
Added parse error if no select after as keyword
2020-12-14 12:33:16 +03:00
Maksim Kita
d8534ae1af
CreateQuery create as select with columns specification
2020-12-14 12:30:08 +03:00
Alexander Tokmakov
04ceaa66f2
implement ATTACH TABLE name FROM 'path/to/data/
2020-12-08 17:15:23 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
Ivan Lezhankin
4083406f54
Introduce ASTTableIdentifier
2020-10-26 18:49:00 +03:00
Ivan
1d170f5745
ASTTableIdentifier Part #1 : improve internal representation of ASTIdentifier name ( #16149 )
...
* Use only |name_parts| as primary name source
* Restore legacy logic for table restoration
* Fix build
* Fix tests
* Add pytest server config
* Fix tests
* Fixes due to review
2020-10-24 21:46:10 +03:00
Maksim Kita
9bd30b041a
Parser allow specify primary key in column list
2020-10-15 23:33:00 +03:00
Alexander Tokmakov
72b1339656
Revert "Revert "Write structure of table functions to metadata""
...
This reverts commit c65d1e5c70
.
2020-10-14 15:19:29 +03:00
tavplubix
c65d1e5c70
Revert "Write structure of table functions to metadata"
2020-10-14 13:59:29 +03:00
Vitaliy Zakaznikov
64d130f8a2
Adding support for [PERIODIC] REFRESH [value_sec]
clause when
...
creating LIVE VIEW tables.
2020-09-14 15:39:33 -04:00
Alexander Tokmakov
969940b4c9
write table tructure for table function remote(...)
2020-08-26 23:55:40 +03:00
hcz
73c5fbcba5
Fix create table as table function with engine
2020-08-21 16:11:49 +08:00
Alexander Tokmakov
31e62e713e
write uuid for ddl dictionaries
2020-07-14 00:21:01 +03:00
Alexander Tokmakov
383c583bdd
add uuid to atomic databases
2020-07-02 23:39:31 +03:00
Vxider
add49518f3
Merged with master
2020-06-19 23:12:25 +08:00
Alexander Tokmakov
5a6b70f5c1
Merge branch 'master' into multiword_data_type
2020-06-18 17:10:19 +03:00
Alexander Tokmakov
acd0d3c528
separate parser for data type
2020-06-18 17:09:24 +03:00
Alexey Milovidov
a5e9d793b0
Merge branch 'master' into avoid-trailing-whitespaces-in-some-cases
2020-06-15 19:48:07 +03:00
Alexey Milovidov
1c5c2f8c69
Fix formatting of CREATE DICTIONARY
2020-06-15 07:08:20 +03:00
Alexander Tokmakov
6a439a5eb5
fixes
2020-06-14 19:39:06 +03:00
Vxider
7078355449
remove unused local variables
2020-06-10 18:06:24 +08:00
Vxider
ab160a3d92
Merged with master
2020-06-09 16:48:04 +08:00
Alexander Tokmakov
4c48b7dd80
better rename
2020-04-07 18:31:33 +03:00
Alexander Tokmakov
a2101c9b1c
better code
2020-04-07 02:22:44 +03:00
Alexander Tokmakov
08bae4668d
Merge branch 'master' into database_atomic
2020-04-06 16:18:07 +03:00
Vxider
2fb9138505
merged with master
2020-04-06 17:36:44 +08:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00