Alexander Tokmakov
5438cef23a
fixes
2020-03-18 02:51:35 +03:00
Alexander Tokmakov
960ba63104
Merge branch 'master' into database_atomic
2020-03-16 14:38:50 +03:00
Alexander Tokmakov
158cde68b5
enable UUIDs for temporary tables
2020-03-12 23:00:37 +03:00
Alexander Tokmakov
a4d12b31a1
Merge branch 'master' into split_databases_from_context
2020-03-02 17:57:54 +03:00
Alexey Milovidov
3602126a1e
Remove unused ErrorCodes
2020-02-25 17:35:37 +03:00
Alexander Tokmakov
93dba03e81
SHOW CREATE for DatabaseMemory
2020-02-10 16:26:03 +03:00
Alexander Tokmakov
7f3b5efebe
SHOW CREATE for DatabaseMemory
2020-01-30 16:12:39 +03:00
Alexander Tokmakov
bab12f4c9c
Merge branch 'refactor_databases' into database_atomic_merge_tmp
2019-12-26 00:17:49 +03:00
Alexander Tokmakov
7c48396689
refactor databases: inherit from DatabaseOnDisk
2019-12-25 16:23:38 +03:00
Alexander Tokmakov
86e55e34d6
refactor databases: add DatabaseWithDictionaries
2019-12-25 15:39:28 +03:00
Alexander Tokmakov
73203a4b6b
refactor IDatabase
2019-12-25 15:20:16 +03:00
Alexander Tokmakov
6325f8507c
fixes
2019-12-24 20:41:24 +03:00
Alexander Tokmakov
60a47c3453
Merge branch 'master' into relative_paths_in_storages
2019-12-24 19:58:34 +03:00
Alexander Tokmakov
4f58d662f7
make data path relative
2019-12-23 18:20:08 +03:00
Alexey Milovidov
41ed1ed471
Added quoting of db and table names where appropriate
2019-12-20 19:53:37 +03:00
Vitaly Baranov
4c157007f5
Refactoring of using ExternalLoader in dictionary DDL:
...
Instead of using ExternalLoader::reload() now it's used reloadConfig() which reloads only what necessary.
Functions attachDictionary() and detachDictionary() are simplified and have lesser number of parameters.
Instead of injecting into LoadablesConfigReader's internals for creating dictionary a temp repository is used.
2019-12-12 21:45:58 +03:00
Alexander Tokmakov
ab4d452145
use UUIDs
2019-11-11 14:59:44 +03:00
Alexander Tokmakov
14e871535a
refactor databases: inherit from DatabaseOnDisk
2019-11-06 20:32:31 +03:00
Alexander Tokmakov
b686738056
refactor databases: add DatabaseWithDictionaries
2019-11-05 23:29:06 +03:00
Alexander Tokmakov
d0af0c8703
refactor IDatabase
2019-11-05 23:28:57 +03:00
Alexander Tokmakov
5059c78e81
Merge branch 'master' into database_atomic
2019-10-29 17:11:08 +03:00
Alexander Tokmakov
80c9b2ec1c
make data path relative
2019-10-28 17:16:59 +03:00
alesapin
7edd80c9b7
Add test for existing dictionary
2019-10-24 12:25:28 +03:00
alesapin
dfa9b0c149
Remove complex logic with lazy load
2019-10-22 19:26:15 +03:00
alesapin
83dbfe9634
New tests and fixes for them
2019-10-21 20:09:41 +03:00
alesapin
b222ec1209
Fix segmentation fault
2019-10-17 20:53:08 +03:00
alesapin
05392fd882
Fix deadlock, add test and refactoring
2019-10-17 20:18:54 +03:00
alesapin
6dfe5c7142
Better introspection
2019-10-17 16:05:12 +03:00
alesapin
01e23f0a22
Better load of dictionaries
2019-10-16 20:06:52 +03:00
alesapin
b4e0ded048
Almost working
2019-10-16 17:59:52 +03:00
alesapin
1ce0eb6e63
Appropriate error codes numbers
2019-10-14 13:04:10 +03:00
alesapin
ecde224692
More tests
2019-10-14 12:52:43 +03:00
alesapin
67fc3347c2
Preparing databases for dictionaries
2019-10-10 20:33:01 +03:00
Alexey Milovidov
3fef8e92ad
Merging CONSTRAINTS support
2019-08-25 00:20:20 +03:00
Nikolai Kochetov
2ae3db7920
Merged with master.
2019-08-09 18:32:44 +03:00
alexey-milovidov
f9d1214bbc
Update DatabasesCommon.cpp
2019-07-20 02:51:43 +03:00
alexey-milovidov
3abf1b278e
Update DatabasesCommon.cpp
2019-07-20 02:51:20 +03:00
Dmitry Rubashkin
7382cb41fa
CREATE TABLE AS table_function()
2019-07-18 21:29:49 +03:00
Vitaliy Zakaznikov
abc7c3f6c1
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-06-15 21:22:28 -04:00
Vitaly Baranov
b4384ce2a9
Dictionaries can be loaded in parallel.
...
A bad dictionary cannot block all the loading anymore.
Implemented really lazy loading of external dictionaries.
Provided more detailed information about the loading of each dictionary
to make diagnostics easier.
2019-06-14 22:18:47 +03:00
Vitaliy Zakaznikov
d112695c42
* Adding other changes to support LIVE VIEWs
2019-05-28 17:17:48 -04:00
Ivan Lezhankin
0821d62516
Merge ITableDeclaration into IStorage.
...
Also a couple of massive include-refactorings with better forwarding
2019-05-17 17:34:25 +03:00
Ivan Lezhankin
4f6a494af8
Revert references where they were before refactoring.
2019-03-15 19:14:13 +03:00
Ivan Lezhankin
a6ca8bcb10
Merge remote-tracking branch 'upstream/master' into iast-as
2019-03-14 16:05:09 +03:00
bgranvea
2029f71869
support for CREATE OR REPLACE VIEW
2019-03-11 17:50:31 +01: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
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
Alexey Milovidov
e33e5150b7
Miscellaneous [#CLICKHOUSE-2]
2019-01-02 09:44:36 +03:00