Nikolai Kochetov
d9ab10634a
fix build
2018-04-16 18:39:12 +03:00
Nikolai Kochetov
9e05052c2a
merged with master
2018-04-16 18:35:11 +03:00
Nikolai Kochetov
7b8a306e34
minor fixes
2018-04-16 18:11:13 +03:00
alexey-milovidov
a220a43b8e
Merge branch 'master' into fix-detach-database
2018-03-29 03:01:07 +03:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
...
Show create database
2018-03-28 05:29:36 +03:00
Nikolai Kochetov
d63d9a4ffb
fix test [#CLICKHOUSE-3590]
2018-03-26 18:48:19 +03:00
Alexey Zatelepin
10b669a833
extract common base for DatabaseMemory and DatabaseOrdinary [#CLICKHOUSE-3664]
2018-03-24 12:08:32 +00:00
Alexey Zatelepin
cf3c24d07d
break cycle of ptrs to StorageReplicatedMergeTree [#CLICKHOUSE-3664]
2018-03-23 23:30:04 +03:00
Nikolai Kochetov
51301d38cd
added tryGetCreateTableQuery [#CLICKHOUSE-3590]
2018-03-14 22:56:44 +03:00
Nikolai Kochetov
d6e9d08d5e
getCreateTableQuery and getCreateDatabaseQuery [#CLICKHOUSE-3590]
2018-03-14 15:37:38 +03:00
Nikolai Kochetov
cda51eb920
added fake create query for default database [#CLICKHOUSE-3590]
2018-03-13 15:31:58 +03:00
Alexey Zatelepin
71642b0880
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
2018-03-12 22:07:48 +03:00
Nikolai Kochetov
2b3e897aa1
added SHOW CREATE DATABASE query [#CLICKHOUSE-3590]
2018-03-12 18:21:50 +03:00
Alexey Milovidov
722b6287ec
Miscellaneous [#CLICKHOUSE-2]
2018-02-25 05:43:27 +03:00
Nikolai Kochetov
c7f5f6f574
added data_path and metadata_path to system.databases and path to system.parts and system.parts_columns [#CLICKHOUSE-3580]
2018-02-22 13:03:45 +03:00
Nikolai Kochetov
a75e095a80
added data_path and metadata_path to system.tables
2018-02-22 13:03:35 +03:00
Vitaliy Lyudvichenko
c575a7fe8a
Fix DROP of virtual databases. Add requested changes. [#CLICKHOUSE-3554]
2018-02-08 17:17:51 +03:00
Vitaliy Lyudvichenko
42754a5327
Add new virtual columns into system.tables. [#CLICKHOUSE-3554]
2018-02-08 17:15:40 +03:00
proller
0c00e47930
Fix tests
2018-02-02 20:29:45 +03:00
Vitaliy Lyudvichenko
8be2bfc513
Added docs and requested changes. [#CLICKHOUSE-3346]
2018-01-25 15:45:07 +03:00
Vitaliy Lyudvichenko
1000328571
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-22 20:31:08 +03:00
proller
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
2018-01-15 22:07:47 +03:00
Vitaliy Lyudvichenko
388d47bbbc
Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346
2018-01-11 23:51:30 +03:00
Vitaliy Lyudvichenko
c818beedcb
Make data_path creation for Databases optional. [#CLICKHOUSE-2]
2018-01-11 21:55:43 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00
Alexey Milovidov
fcdd5de47d
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
c89041ce63
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Alexey Milovidov
acd78e4891
Better [#CLICKHOUSE-2].
2017-12-02 00:13:25 +03:00
Alexey Zatelepin
01c39dcf1c
fix CREATE TABLE bugs and idiosyncrasies: [#CLICKHOUSE-3000]
...
* fix segfault on ATTACH MATERIALIZED VIEW
* allow only TEMPORARY TABLEs (not databases or views)
* forbid choosing ENGINE for TEMPORARY tables
* fix segfault on CREATE TABLE t1 AS t2 where t2 is a View
2017-10-26 07:53:52 +03:00
Alexey Zatelepin
48dea685d0
use more typesafe AST objects in ASTCreateQuery [#CLICKHOUSE-3000]
2017-10-20 21:28:41 +03:00
Vadim Skipin
e0a1e6982b
Context parameter added to the IDatabase methods
2017-09-11 21:29:26 +03:00
Vitaliy Lyudvichenko
f815498e34
Fix error codes skipping. [#CLICKHOUSE-2]
2017-08-13 12:18:46 +03:00
alexey-milovidov
e122cf0bcf
Merge pull request #914 from yandex/database-dictionary
...
DatabaseDictionary
2017-06-25 22:02:45 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Nikolai Kochetov
adb632319d
DatabaseDictionary creates new storage for every create table query; drop table works untill restart
2017-06-23 18:55:45 +03:00
Alexey Milovidov
5c322f5756
Loosened threshold on amount of replica inconsistency to refuse server startup [#CLICKHOUSE-3076].
2017-06-21 22:07:08 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
Alexey Milovidov
fedd829803
Miscellaneous [#CLICKHOUSE-3039].
2017-05-25 21:24:47 +03:00
Alexey Milovidov
ce581bbf35
Preparations, part 3 [#CLICKHOUSE-31].
2017-05-23 21:33:48 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
14c8003081
Normalized formatting [#CLICKHOUSE-3].
...
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*) ' | xargs sed -i -r -e 's/^(\t*) /\1\t/'
2017-03-26 04:28:07 +03:00
f1yegor
bc0d9a2cae
translate comments
2017-03-25 21:12:56 +01:00
alexey-milovidov
17a4ead1ef
Setting fsync metadata ( #380 )
...
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
791198e619
Comments [#CLICKHOUSE-3].
2017-01-23 20:10:31 +03:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1
Implemented draft version of clickhouse-local service.
2016-11-09 22:03:47 +03:00