Alexey Milovidov
|
1be21e3cb6
|
Removed bad and useless code in ColumnsDescription
|
2019-05-02 00:43:05 +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 |
|
alesapin
|
42a0c2f194
|
Fix alter modify of codec when column type is not specified
|
2019-04-02 15:51:31 +03:00 |
|
alexey-milovidov
|
d047a62e31
|
Merge pull request #4790 from TCeason/fix_crash
Fix crash when distributed modify order by
|
2019-03-26 19:41:00 +03:00 |
|
tai
|
9d232778fc
|
Fix crash when distributed modify order by
Did not determine if order_by_ast is empty.
If it is null, it will clone a null pointer and cause server crash.
|
2019-03-26 13:33:39 +08:00 |
|
Alexey Zatelepin
|
304c67da99
|
Merge branch 'master' into fix-add-materialized-column-after
Conflicts:
dbms/src/Interpreters/InterpreterCreateQuery.cpp
dbms/src/Interpreters/InterpreterDescribeQuery.cpp
dbms/src/Interpreters/interpretSubquery.cpp
dbms/src/Storages/ColumnsDescription.cpp
|
2019-03-17 00:46:53 +03:00 |
|
Alexey Zatelepin
|
dac1c0a6c3
|
fix formatting of column comments
|
2019-03-15 19:37:52 +03:00 |
|
Alexey Zatelepin
|
b5a0a3fa23
|
store all kinds of columns in the same list in ColumnsDescription [#CLICKHOUSE-3101]
|
2019-03-15 19:37:52 +03:00 |
|
Ivan Lezhankin
|
4f6a494af8
|
Revert references where they were before refactoring.
|
2019-03-15 19:14:13 +03:00 |
|
Ivan Lezhankin
|
d1ead22073
|
Rename As<…> → as<…>
|
2019-03-11 16:22:51 +03:00 |
|
Ivan Lezhankin
|
a7e838e328
|
Replace all other casts to method IAST::As<Derived>
Also remove some redundant methods like IsIdentifier() et. al.
|
2019-03-11 15:49:39 +03:00 |
|
Ivan Lezhankin
|
0e325c7a4a
|
Replace const typeid_casts with As<Derived>() method invocations
|
2019-03-08 12:48:20 +03: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 |
|
alesapin
|
694f746798
|
Merge branch 'master' into compression_codec_alter
|
2019-01-15 13:52:45 +03:00 |
|
chertus
|
dbb88e8cb4
|
helpers for ASTIdentifier (hide semantic and casts)
|
2019-01-14 21:15:04 +03:00 |
|
zhang2014
|
cdb138f13c
|
merge
|
2019-01-14 18:14:34 +03:00 |
|
chertus
|
729ca697d9
|
minor SyntaxAnalyzer refactoring
|
2019-01-09 19:16:59 +03:00 |
|
Boris Granveaud
|
d776d1164a
|
support for IF EXISTS/IF NOT EXISTS in ALTER TABLE ADD/DROP/CLEAR/MODIFY/COMMENT COLUMN
|
2018-12-21 15:53:00 +01:00 |
|
Alexey Zatelepin
|
b7afe46dfd
|
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
|
2018-12-20 21:57:20 +03:00 |
|
Alexey Zatelepin
|
9ae79c60e8
|
get rid of (ASTPtr *) in AlterCommands::apply [#CLICKHOUSE-3859]
|
2018-11-28 16:34:57 +03:00 |
|
Alexey Zatelepin
|
d3d9242462
|
Merge branch 'master' into alter-order-by
Conflicts:
dbms/src/Parsers/ASTAlterQuery.h
dbms/src/Parsers/ParserAlterQuery.cpp
dbms/src/Storages/AlterCommands.cpp
dbms/src/Storages/AlterCommands.h
|
2018-11-26 16:01:48 +03:00 |
|
Alexey Milovidov
|
7d6fffff48
|
More style checks [#CLICKHOUSE-3]
|
2018-11-24 04:48:06 +03:00 |
|
Sabyanin Maxim
|
3a67b505c5
|
Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-4032
|
2018-11-22 16:54:10 +03:00 |
|
Sabyanin Maxim
|
d9e6789f78
|
make MergeTree work with comments
|
2018-11-15 16:12:27 +03:00 |
|
Sabyanin Maxim
|
035049d1a8
|
make modify column comment work
|
2018-11-15 01:46:39 +03:00 |
|
Alexey Zatelepin
|
b071547b2d
|
add checks for ALTER MODIFY ORDER BY [#CLICKHOUSE-3859]
|
2018-11-14 20:12:32 +03:00 |
|
Alexey Zatelepin
|
29b34365e6
|
Merge branch 'master' into alter-order-by
Conflicts:
dbms/src/Interpreters/ExpressionAnalyzer.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp
|
2018-11-13 16:27:19 +03:00 |
|
Alexey Zatelepin
|
8b85822192
|
store original key ASTs, and not extracted ASTExpressionLists [#CLICKHOUSE-3859]
|
2018-11-13 16:14:44 +03:00 |
|
Alexey Zatelepin
|
02337242b5
|
ALTER MODIFY ORDER BY syntax [#CLICKHOUSE-3859]
|
2018-11-13 16:13:10 +03:00 |
|
Sabyanin Maxim
|
befaea63d2
|
add is_mutable method to AlterCommand. change comment column test
|
2018-11-13 15:08:07 +03:00 |
|
Nikolai Kochetov
|
1e9aeba603
|
Split ExpressionAnalyzer and SyntaxAnalyzer.
|
2018-11-09 18:01:18 +03:00 |
|
Nikolai Kochetov
|
726ae0cb9a
|
Split ExpressionAnalyzer and SyntaxAnalyzer.
|
2018-11-08 19:47:12 +03:00 |
|
Sabyanin Maxim
|
dacd999d4f
|
Merge branch 'master' into CLICKHOUSE-4032
|
2018-11-06 16:50:07 +03:00 |
|
Sabyanin Maxim
|
bdcdc15b1e
|
fixed comment test.
remove ColumnComment struct.
style fixes
|
2018-11-06 16:26:43 +03:00 |
|
Amos Bird
|
3cf2177268
|
Flexible fields assignment
Field f;
before:
f = Int64(-42);
after:
f = -42;
|
2018-10-24 08:47:33 +08: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 |
|
Alexey Zatelepin
|
c5c601f662
|
save serialized commands in ReplicatedMergeTreeMutationEntry; split InterpreterAlterQuery::parseAlter() [#CLICKHOUSE-3747]
|
2018-06-13 17:14:08 +03:00 |
|
Alexey Zatelepin
|
d31b897ba7
|
validate mutation commands [#CLICKHOUSE-3688]
|
2018-05-16 05:46:15 +03:00 |
|
Alexey Milovidov
|
956128a67a
|
Fixed style a bit [#CLICKHOUSE-2]
|
2018-05-07 05:01:11 +03:00 |
|
Alexey Zatelepin
|
fdffbe53ac
|
encapsulate ColumnsDeclaration [#CLICKHOUSE-3241]
|
2018-03-13 17:41:25 +03:00 |
|
Alexey Zatelepin
|
de1db216a5
|
getStructureOfRemoteTable returns info about column default kinds [#CLICKHOUSE-3241]
|
2018-03-12 23:21:54 +03:00 |
|
Alexey Zatelepin
|
78d92f6794
|
add some useful methods, rename for clarity [#CLICKHOUSE-3241]
|
2018-03-12 22:10:13 +03:00 |
|
Alexey Zatelepin
|
71642b0880
|
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
|
2018-03-12 22:07:48 +03:00 |
|
alexey-milovidov
|
1bc8e61d8b
|
Update AlterCommands.cpp
|
2018-03-02 22:33:04 +03:00 |
|
alexey-milovidov
|
e57124481e
|
Update AlterCommands.cpp
|
2018-03-02 22:32:30 +03:00 |
|
zhang2014
|
4a38e97ed6
|
Merge branch 'master' into fix/ISSUES-1386
|
2018-03-02 18:03:18 +08:00 |
|
Alexey Milovidov
|
601ff1eee4
|
Simplification of AST #1947
|
2018-02-26 06:37:08 +03:00 |
|
zhang2014
|
9cffea1958
|
ISSUES-1386 resolve some opinions
|
2018-02-22 19:27:58 +08:00 |
|
zhang2014
|
dc189fd129
|
ISSUES-1386 add logical error when drop exist depend
|
2018-02-21 08:49:30 +08:00 |
|
Alexey Milovidov
|
0bfea2f52c
|
Miscellaneous [#CLICKHOUSe-2]
|
2018-01-10 03:04:08 +03:00 |
|