Vitaliy Lyudvichenko
b46a2a6eab
Fixed infinite sleeping of low-priority queries. [#CLICKHOUSE-2]
2017-07-09 03:53:13 +03:00
Guillaume Tassery
2ec96fe822
Make UUID as a strong type
2017-07-06 16:50:29 +02:00
Nikolai Kochetov
d6001618f0
disabled exception during overriding settings with same value in readonly mode [#CLICKHOUSE-3041]
2017-07-06 17:42:31 +03:00
Guillaume Tassery
aeeb81fadf
Rename field in UInt128
2017-07-04 18:10:36 +02:00
Alexey Milovidov
032d12d431
Fixed translation error [#CLICKHOUSE-2].
2017-07-04 15:46:31 +03:00
Guillaume Tassery
cba9815981
Change Uuid to UUID datatype and make UInt128 a generic type
2017-07-04 12:42:53 +02:00
Alexey Milovidov
06f343c89e
Misc [#CLICKHOUSE-3115].
2017-07-04 00:04:40 +03:00
Alexey Milovidov
727ce48c23
Fixed error with selecting number of threads for distributed query processing [#CLICKHOUSE-3115].
2017-07-04 00:04:10 +03:00
Guillaume Tassery
d6ab06437a
Remove mention of UUID type for dictonnary
2017-07-03 18:08:32 +02:00
Guillaume Tassery
525851ec68
sync master
2017-06-30 22:21:42 +02:00
Guillaume Tassery
1231952fca
Implement UUID type and toUuid function
2017-06-30 22:01:27 +02:00
Alexey Milovidov
a48a21f593
Merge branch 'master' into CLICKHOUSE-2896
2017-06-26 11:54:58 +03:00
alexey-milovidov
e122cf0bcf
Merge pull request #914 from yandex/database-dictionary
...
DatabaseDictionary
2017-06-25 22:02:45 +03:00
Alexey Milovidov
28e9e06992
Preparation: locking block number only after write to filesystem; removed obsolete code [#CLICKHOUSE-3091].
2017-06-25 03:01:10 +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
Alexey Milovidov
d51245809f
Fixed error in SessionCleaner [#CLICKHOUSE-2949].
2017-06-23 08:53:04 +03:00
Nikolai Kochetov
4c114bc3a1
added DatabaseDictionary
2017-06-22 18:44:19 +03:00
Vitaliy Lyudvichenko
d7db235269
Better names and log messages. [#CLICKHOUSE-2896]
2017-06-22 18:32:09 +03:00
Vitaliy Lyudvichenko
99f502d5e0
Support OPTIMIZE query on non-leader replica. [#CLICKHOUSE-2]
2017-06-22 18:01:08 +03:00
Vitaliy Lyudvichenko
eff3588f28
Rename DROP COLUMN FROM PARTITION -> CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-2896]
2017-06-22 16:18:19 +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
f16eaa99a1
Fixed error with unusual case of ARRAY JOIN [#METR-25109].
2017-06-21 21:21:37 +03:00
Alexey Milovidov
4738094d7e
Fixed error when dynamically compiled .so file is broken [#METR-25550].
2017-06-21 20:31:22 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
a99f25f2a0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-21 04:24:10 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Vitaliy Lyudvichenko
8b72f573d8
Get rid of SET GLOBAL command. [#MTRSADMIN-3068]
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
2167e4efdd
Removed SET GLOBAL query. [#MTRSADMIN-3068]
...
It even was not supported properly in console client.
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
353dba545d
Correct cascade of user setting calculation. [#MTRSADMIN-3068] [#CLICKHOUSE-2906]
2017-06-20 22:26:59 +03:00
proller
9c7d30e0df
Fix missing includes
2017-06-20 17:16:51 +03:00
Георгий Кондратьев
a736ef618a
Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
...
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
Vitaliy Lyudvichenko
534b766250
CREATE of MergeTree checks that data dir is empty. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Vitaliy Lyudvichenko
515ffa5262
Add extra check. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Vitaliy Lyudvichenko
a098fb170a
Avoid creating multiple global Context. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Alexey Milovidov
f578bbd459
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-19 23:06:53 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
Vitaliy Lyudvichenko
b772eaa3a8
Resolved #891 . Fixed aliases for empty scalar subqueries. [#CLICKHOUSE-3]
2017-06-19 22:40:12 +03:00
Alexey Milovidov
b0c0432b71
Fixed build [#CLICKHOUSE-31].
2017-06-19 06:18:30 +03:00
Alexey Milovidov
eb47356e4f
Qualified names: continued [#CLICKHOUSE-31].
2017-06-19 06:05:05 +03:00
Alexey Milovidov
6fe3e432c5
Implemented qualified identifiers in a bad way [#CLICKHOUSE-31].
2017-06-19 05:14:18 +03:00
Alexey Milovidov
f51db5e1f6
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:55:46 +03:00
Alexey Milovidov
d64f2beaf8
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:43:29 +03:00
Vitaliy Lyudvichenko
aef0bf7e2e
Fix trying to load database.sql from incorrect path. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Vitaliy Lyudvichenko
67fdd0f544
Load the system database first. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
alexey-milovidov
43a18b164d
Merge pull request #883 from yandex/fix-merge-global-in
...
Fix GLOBAL IN for Merge table over Distributed tables
2017-06-15 23:09:51 +03:00
Alexey Zatelepin
8ee85e6440
calculate isRemote() from underlying tables of StorageMerge [#CLICKHOUSE-2911]
2017-06-15 22:24:59 +03:00
Alexey Milovidov
9bf083625d
Removed support for QuickLZ (obsolete) [#CLICKHOUSE-2].
2017-06-15 21:21:59 +03:00
Vitaliy Lyudvichenko
6d74a5f5d1
Resolves #851 . Table was in shutdown state after aborted drop. [#CLICKHOUSE-2184]
2017-06-13 22:27:18 +03:00
Alexey Milovidov
a782f81f8f
Moved common code from Functions; fixed build after merge [#CLICKHOUSE-2].
2017-06-13 07:45:30 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
Alexey Milovidov
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03:00
Alexey Milovidov
38885d00a3
Merge branch 'storage-startup-method'
2017-06-07 02:27:16 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +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
9593119a64
Fixed error after merge; tiny modification [#CLICKHOUSE-2].
2017-06-05 17:40:44 +03:00
Vitaliy Lyudvichenko
1e4906816c
Avoid SIGSEGV in SystemLog destructors. [#CLICKHOUSE-3023]
2017-06-05 17:25:10 +03:00
f1yegor
8e261e34c5
translate comments: Interpreters
2017-06-03 19:21:00 +03:00
Alexey Milovidov
efc12f2334
Sessions in HTTP interface: modifications after merge [#CLICKHOUSE-2949].
2017-06-03 00:01:17 +03:00
Sergey V. Galtsev
07f14e05ee
Implement sessions in HTTP interface [#CLICKHOUSE-2949].
2017-06-02 22:35:05 +03:00
Vitaliy Lyudvichenko
1c367fc666
Fix DDLLogEntry::CURRENT_VERSION variable issue. [#CLICKHOUSE-5]
2017-06-01 13:49:22 +03:00
Vitaliy Lyudvichenko
6db8da82c6
Add requested changes. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
73e2aab9ec
Updated integration tests. Add integration test for DDL. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
226d84be09
Update doc. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
55aa8217f3
Disable DDL ALTER for replicated tables. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
3a2c1a195d
Add ZooKeeper session recovering and trashy integration test. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f
Add ALTER queries. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
48ade83090
Parsers refactoring. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
91f45c628b
Add queue cleanup. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
feb1db051d
Add status stream for distributed DDLs. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
4322b0c5a9
Implemented global ZK queue for DDLs. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
209015574f
Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
aa7504a7f5
Distributed DDL PR rebase. [#CLICKHOUSE-5]
2017-06-01 13:49:19 +03:00
Alexey Zatelepin
1c903df8d7
move AccurateComparison.h [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Zatelepin
e9f8f99e06
Correct index comparisons in case constants cannot be precisely casted [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Milovidov
a77369d082
Preparation: Storages do not modify query [#CLICKHOUSE-31].
2017-05-25 04:12:41 +03:00
Alexey Milovidov
557c3dc7f4
Preparation: removed support for unreplicated data in Replicated tables [#CLICKHOUSE-31].
2017-05-25 00:38:56 +03:00
Alexey Milovidov
48f65e9097
Preparation: untangling [#CLICKHOUSE-31].
2017-05-25 00:06:29 +03:00
Alexey Milovidov
59ac7f8063
Preparation: untangle settings manipulation in InterpreterSelectQuery [#CLICKHOUSE-31].
2017-05-24 23:25:01 +03:00
Alexey Milovidov
cb83b200cb
Preparation [#CLICKHOUSE-31].
2017-05-24 23:13:04 +03:00
Alexey Milovidov
9fdd795087
Using more light method of query_id generation [#CLICKHOUSE-3025].
2017-05-24 22:31:50 +03:00
Alexey Milovidov
e073b62301
Fixed build [#CLICKHOUSE-31].
2017-05-23 21:58:38 +03:00
Alexey Milovidov
ce581bbf35
Preparations, part 3 [#CLICKHOUSE-31].
2017-05-23 21:33:48 +03:00
Alexey Milovidov
a822dedc45
Preparations, part 2 [#CLICKHOUSE-31].
2017-05-23 21:24:43 +03:00
Alexey Milovidov
66e209b492
Preparations, part 1 [#CLICKHOUSE-31].
2017-05-23 21:01:50 +03:00
Alexey Milovidov
bb2f0a0893
Always restore in case of corrupted query_log, part_log [#CLICKHOUSE-3020].
2017-05-23 20:35:05 +03:00
Alexey Milovidov
0f252046ca
Preparations [#CLICKHOUSE-2]
2017-05-22 01:25:25 +03:00
Vitaliy Lyudvichenko
45c1856556
Fix wrong implementation of CastTypeBlockInputStream ( #807 )
...
* Fix wrong implementation of CastTypeBlockInputStream. [#CLICKHOUSE-2957]
* Fix typos and add comments. [#CLICKHOUSE-2957]
2017-05-20 18:47:40 +04:00
Marek Vavruša
9520234365
Dictionaries/TrieDictionary: IP prefix dictionary
...
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.
The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04:00
f1yegor
92b56c2c7d
translate comments
2017-05-14 19:03:55 +04:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
proller
b2e2233a59
rename CastEnumBlockInputStream -> CastTypeBlockInputStream
2017-04-29 06:37:38 +03:00
artpaul
d269827dfd
#215 convert to Enum with FunctionCast
2017-04-27 23:29:39 +03:00
Alexey Zatelepin
aeb83f9ef7
fix key columns indexing for RIGHT and FULL joins [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
alexey-milovidov
9b543dec5c
Update SystemLog.h
2017-04-27 09:02:12 +03:00
alexey-milovidov
2f32c0e9d2
Update SystemLog.h
2017-04-27 09:02:12 +03:00
proller
8cdae06a2d
Add log error on query log fail
2017-04-27 09:02:12 +03:00
proller
2ca3fcf7d3
Fix deadlock when queue_log queue is full
2017-04-27 09:02:12 +03:00
artpaul
323a9aff6d
#215 cast strings or ints to enum on insert
2017-04-25 07:57:49 +03:00
Alexey Milovidov
aa2cd20823
Miscellaneous [#CLICKHOUSE-2].
2017-04-23 11:29:24 +03:00