alesapin
5ea1a12c05
Refactoring and comments
2019-10-08 16:26:15 +03:00
alesapin
cec3af45e5
First working version of parser
2019-10-07 19:23:16 +03:00
Alexey Milovidov
84b0f709aa
Removed useless code
2019-08-23 08:08:06 +03:00
alexey-milovidov
308baa182e
Merge branch 'master' into table-constraints
2019-08-21 06:33:08 +03:00
Nikolai Kochetov
631bbde420
Merged with master.
2019-08-12 13:19:13 +03:00
Gleb Novikov
381ea6cb6e
Merge branch 'master' into table-constraints
2019-08-11 12:38:34 +03:00
Nikolai Kochetov
2ae3db7920
Merged with master.
2019-08-09 18:32:44 +03:00
Alexey Milovidov
a6e4b34ab4
Fixed unpleasant code #6401
2019-08-08 23:02:30 +03:00
Dmitry Rubashkin
f91c64bd28
parser changed, test modified, comments added
2019-07-31 17:06:22 +03:00
Vitaliy Zakaznikov
d112695c42
* Adding other changes to support LIVE VIEWs
2019-05-28 17:17:48 -04:00
Gleb Novikov
c926cf6562
Minor review fixes
2019-05-25 17:07:45 +03:00
Gleb Novikov
f24bedd2b8
Added constraints to parsers
2019-05-12 14:36:02 +03:00
Anton Popov
7f93f9ad2f
TTL for columns and tables ( #4212 )
...
Add TTL for columns and tables.
2019-04-15 12:30:45 +03:00
bgranvea
2029f71869
support for CREATE OR REPLACE VIEW
2019-03-11 17:50:31 +01:00
Nikita Vasilev
a1b0dede07
Data Skipping Indices ( #4143 )
...
* made index parser
* added index parsing
* some fixes
* added index interface and factory
* fixed compilation
* ptrs
* added indexParts
* indextypes
* index condition
* IndexCondition
* added indexes in selectexecutor
* fix
* changed comment
* fix
* added granularity
* comments
* fix
* fix
* added writing indexes
* removed indexpart class
* fix
* added setSkipIndexes
* add rw for MergeTreeIndexes
* fixes
* upd error
* fix
* fix
* reading
* test index
* fixed nullptr error
* fixed
* fix
* unique names
* asts -> exprlist
* minmax index
* fix
* fixed select
* fixed merging
* fixed mutation
* working minmax
* removed test index
* fixed style
* added indexes to checkDataPart
* added tests for minmax index
* fixed constructor
* fix style
* fixed includes
* fixed setSkipIndexes
* added indexes meta to zookeeper
* added parsing
* removed throw
* alter cmds parse
* fix
* added alter
* fix
* alters fix
* fix alters
* fix "after"
* fixed alter
* alter fix + test
* fixes
* upd setSkipIndexes
* fixed alter bug with drop all indices
* fix metadata editing
* new test and repl fix
* rm test files
* fixed repl alter
* fix
* fix
* indices
* MTReadStream
* upd test for bug
* fix
* added useful parsers and ast classes
* fix
* fix comments
* replaced columns
* fix
* fixed parsing
* fixed printing
* fix err
* basic IndicesDescription
* go to IndicesDescr
* moved indices
* go to indicesDescr
* fix test minmax_index*
* fixed MT alter
* fixed bug with replMT indices storing in zk
* rename
* refactoring
* docs ru
* docs ru
* docs en
* refactor
* rename tests
* fix docs
* refactoring
* fix
* fix
* fix
* fixed style
* unique idx
* unique
* fix
* better minmax calculation
* upd
* added getBlock
* unique_condition
* added termForAST
* unique
* fixed not
* uniqueCondition::mayBeTrueOnGranule
* fix
* fixed bug with double column
* is always true
* fix
* key set
* spaces
* test
* tests
* fix
* unique
* fix
* fix
* fixed bug with duplicate column
* removed unused data
* fix
* fixes
* __bitSwapLastTwo
* fix
2019-02-05 17:50:25 +03:00
chertus
dbb88e8cb4
helpers for ASTIdentifier (hide semantic and casts)
2019-01-14 21:15:04 +03:00
alesapin
a492d0f6bf
Seems like working parser
2018-12-13 18:26:28 +03:00
zhang2014
6d0c4eaf89
ISSUES-838 add lz4、none、zstd codec
2018-12-13 12:10:34 +08:00
Alexey Zatelepin
57f25e978a
update comments and docs [#CLICKHOUSE-3859]
2018-11-28 18:12:44 +03:00
Sabyanin Maxim
035049d1a8
make modify column comment work
2018-11-15 01:46:39 +03:00
Sabyanin Maxim
befaea63d2
add is_mutable method to AlterCommand. change comment column test
2018-11-13 15:08:07 +03:00
Sabyanin Maxim
f8f2779f7b
make ColumnComment just a hashmap
2018-11-08 15:03:42 +03:00
Sabyanin Maxim
bdcdc15b1e
fixed comment test.
...
remove ColumnComment struct.
style fixes
2018-11-06 16:26:43 +03:00
Sabyanin Maxim
73e9f5057d
fix code style checker errors
2018-10-27 23:39:59 +03:00
Sabyanin Maxim
ab050c8466
add comment section in column declaration.
...
add comment column type in alter method.
add comment section in system.columns.
2018-10-14 18:30:06 +03:00
Sabyanin Maxim
8f7c2b5821
first try
2018-10-01 23:16:50 +03:00
Alexey Milovidov
7125db4679
Fixed code with extremely high level of ugliness [#CLICKHOUSE-3764]
2018-06-07 23:25:38 +03:00
Alexey Milovidov
5c450708e1
Fixed bad code #1947
2018-02-26 07:47:27 +03:00
Alexey Milovidov
d6121a8544
Simplification of AST #1947
2018-02-26 06:40:20 +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
6b9ead4bd8
parse PARTITION BY, ORDER BY, SAMPLE BY, SETTINGS clauses in a storage definition [#CLICKHOUSE-3000]
2017-10-20 21:28:42 +03:00
Alexey Zatelepin
48dea685d0
use more typesafe AST objects in ASTCreateQuery [#CLICKHOUSE-3000]
2017-10-20 21:28:41 +03:00
Alexey Milovidov
86c46ad1bd
Unification [#CLICKHOUSE-2].
2017-09-15 15:16:12 +03:00
Alexey Milovidov
5b5795633e
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
313e52279d
UNION ALL rewrite: preparation [#CLICKHOUSE-31].
2017-06-18 06:35:25 +03:00
Alexey Milovidov
bc45598c08
Fixed name [#CLICKHOUSE-2].
2017-06-15 20:55:57 +03:00
f1yegor
f49b433a83
translate comments: functions
2017-05-27 19:29:55 +02:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00