Commit Graph

6777 Commits

Author SHA1 Message Date
Alexey Milovidov
790bda3b9a Whitespace [#CLICKHOUSE-2]. 2017-12-02 02:14:53 +03:00
Alexey Milovidov
7196602e12 Better [#CLICKHOUSE-2]. 2017-12-02 00:51:50 +03:00
Alexey Milovidov
739b7e0e37 Removed BlockTabSeparated format as it was totally useless [#CLICKHOUSE-2]. 2017-12-02 00:44:12 +03:00
Alexey Milovidov
54e601019c Better [#CLICKHOUSE-2]. 2017-12-02 00:40:58 +03:00
Alexey Milovidov
a85773bdbc Fixed error [#CLICKHOUSE-2838]. 2017-12-02 00:30:43 +03:00
Alexey Milovidov
acd78e4891 Better [#CLICKHOUSE-2]. 2017-12-02 00:13:25 +03:00
Alexey Milovidov
1efef27af9 Better [#CLICKHOUSE-2] 2017-12-01 23:38:50 +03:00
Alexey Milovidov
431da20d99 Better [#CLICKHOUSE-2]. 2017-12-01 23:21:35 +03:00
Alexey Milovidov
bdd25b15bd Better [#CLICKHOUSE-2]. 2017-12-01 22:34:51 +03:00
Alexey Milovidov
1a6cb2989b Better [#CLICKHOUSE-2]. 2017-12-01 21:36:55 +03:00
Alexey Milovidov
f5ecb2db5d Better [#CLICKHOUSE-2]. 2017-12-01 20:49:12 +03:00
alexey-milovidov
0ac2f5b479
Merge pull request #1559 from rlipovsky/geodata
[clickhouse-yt] separate geo dictionaries from data providers
2017-12-01 19:54:08 +03:00
alexey-milovidov
09f030a3ee
Merge branch 'master' into data_parts_multi_index 2017-12-01 19:53:04 +03:00
alexey-milovidov
493e7a4976
Merge pull request #1571 from rlipovsky/get_user_by_ptr
[clickhouse-yt] more consistent ISecurityManager interface
2017-12-01 19:43:00 +03:00
alexey-milovidov
66fdecf6ec
Merge branch 'master' into geodata 2017-12-01 19:25:27 +03:00
alexey-milovidov
96695b54fa
Merge pull request #1555 from rlipovsky/external_dicts_repo
[clickhouse-yt] abstract config repository for user-defined objects (dictionaries, etc)
2017-12-01 19:23:08 +03:00
alexey-milovidov
6a3c824056
Update ExternalLoaderConfigRepository.cpp 2017-12-01 19:22:19 +03:00
alexey-milovidov
a48a519c8d
Update ExternalLoaderConfigRepository.cpp 2017-12-01 19:20:01 +03:00
Alexey Milovidov
98291f1a24 Cleanups [#CLICKHOUSE-2838]. 2017-12-01 17:21:24 +03:00
Alexey Milovidov
6fb18a7dc2 Added comments [#CLICKHOUSE-2838]. 2017-12-01 17:15:38 +03:00
Alexey Milovidov
d4089695ad Cleanups [#CLICKHOUSE-2838]. 2017-12-01 16:32:37 +03:00
Alexey Milovidov
241e0638b7 Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams 2017-12-01 15:36:15 +03:00
proller
a520d30a5e zlib fix flags in headers 2017-11-30 20:52:09 +03:00
Roman Lipovsky
430837706c more consistent ISecurityManager interface: return shared pointer to User to prevent race conditions with loadFromConfig 2017-11-30 17:53:12 +03:00
Kirill Shvakov
cd7f7b076e Merge branch 'add-description-to-settings-table' 2017-11-30 13:55:42 +02:00
Kirill Shvakov
4d73516508 Add description to system.settings table 2017-11-30 13:50:02 +02:00
Roman Lipovsky
44f8fcaf0d fix indentation 2017-11-29 15:48:28 +03:00
Roman Lipovsky
db0fc481d7 do not rely on total size estimation from data source 2017-11-29 15:45:17 +03:00
Roman Lipovsky
45637ddee8 fix indentation 2017-11-29 15:41:42 +03:00
Vitaliy Lyudvichenko
ddb02d8ccf Small enhancements. [#CLICKHOUSE-3452] 2017-11-29 14:54:37 +03:00
Vitaliy Lyudvichenko
b738d1baed Add multi index for data_parts storage. And fixed bugs. [#CLICKHOUSE-3452]
Fixed handling of obsolete parts.
Fixed conflict resolution between simultaneous PreCommitted covering parts.
Fixed memory leak caused by ordinary MergeTree parts stucked in Deleting state.
Added hidden _state column into system.parts.
2017-11-29 14:25:11 +03:00
Alexey Milovidov
fb4951b679 Unification of serde of data types: development [#CLICKHOUSE-2838]. 2017-11-29 02:50:17 +03:00
Alexey Milovidov
37a22bceba Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams 2017-11-29 02:31:38 +03:00
Alexey Milovidov
7b4bffe088 Unification of serde of data types: development [#CLICKHOUSE-2838]. 2017-11-29 02:31:21 +03:00
Roman Lipovsky
845b4e0cac use types from Dictionaries/Embedded/GeodataProviders/Types.h 2017-11-29 01:27:32 +03:00
Roman Lipovsky
e37b13dfef update comment 2017-11-29 01:18:38 +03:00
Roman Lipovsky
9ed1ba2441 separate geo dictionaries from geo data providers 2017-11-29 01:15:06 +03:00
alexey-milovidov
2ab73565b2
Fixed terrible translation. 2017-11-28 19:30:24 +03:00
Alexey Zatelepin
01d42242b1 mark queue as dirty if status of ZK operation is unknown [#CLICKHOUSE-3405] 2017-11-28 17:09:53 +03:00
Roman Lipovsky
639d850d97 abstract config repository of user-defined objects (dictionaries, models) 2017-11-28 14:00:07 +03:00
Amos Bird
b516e5e087
Propagate readPrefix in ParallelInputsProcessor (take 2)
Both UnionBlockInputStream and ParallelAggregatingBlockInputStream rely on ParallelInputsProcessor to do stream preparation in parallel, which seems to be absent. This patch fixes it.

Fix thread unsafty issue in https://github.com/yandex/ClickHouse/pull/1516

Here is a list of inputstreams with meaningful work in readPrefix

```
IProfilingBlockInputStream

AsynchronousBlockInputStream
BlockInputStreamFromRowInputStream
CatBoostDatasetBlockInputStream
CreatingSetsBlockInputStream
CSVRowInputStream
DictionaryBlockInputStreamBase
InputStreamFromASTInsertQuery
KafkaBlockInputStream
MergingAggregatedMemoryEfficientBlockInputStream
RemoteBlockInputStream
StorageFileBlockInputStream
```
2017-11-28 16:52:00 +08:00
Alexey Milovidov
c05cf01a9b SummingSortedBlockInputStream: miscellaneous [#CLICKHOUSE-2]. 2017-11-28 05:14:50 +03:00
Alexey Milovidov
06a65168ac SummingSortedBlockInputStream: miscellaneous [#CLICKHOUSE-2]. 2017-11-28 05:14:06 +03:00
Alexey Milovidov
36d4f89c7a Unification of serde of data types: development [#CLICKHOUSE-2838]. 2017-11-28 05:13:46 +03:00
Roman Lipovsky
ae6e9a870f edit comment 2017-11-28 04:12:57 +03:00
Roman Lipovsky
4eda095654 add comments 2017-11-28 04:12:57 +03:00
alexey-milovidov
1879fe93f1 Update Context.h 2017-11-28 04:12:57 +03:00
alexey-milovidov
7819424e2a Update Context.h 2017-11-28 04:12:57 +03:00
Roman Lipovsky
dd22bf2179 fix include 2017-11-28 04:12:57 +03:00
Roman Lipovsky
af6c6f0afa mark ISecurityManager::getUser as const 2017-11-28 04:12:57 +03:00
Roman Lipovsky
cf6dd4e73b abstractions: runtime components factory + security manager 2017-11-28 04:12:57 +03:00
Alexey Milovidov
71378d329c Merge branch 'unify-data-types-that-serialized-with-multiple-streams' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams 2017-11-28 02:47:21 +03:00
Alexey Milovidov
719d2654f8 Unification of serde of data types: development [#CLICKHOUSE-2838]. 2017-11-28 02:47:14 +03:00
Alexey Milovidov
55971073fc Unification of serde of data types: development [#CLICKHOUSE-2838]. 2017-11-28 00:21:09 +03:00
proller
2ade0a92d2 Cmake fix 2017-11-27 23:40:19 +03:00
proller
4b63d9a4c3 Cmake: fix link of some tests (missing pthread) 2017-11-27 23:39:06 +03:00
Alexey Milovidov
95d33b3e65 Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams 2017-11-27 22:33:38 +03:00
Alexey Milovidov
7e5bab971d Fixed build [#CLICKHOUSE-2]. 2017-11-27 22:12:18 +03:00
alexey-milovidov
5dd7279e15 Update DictionarySourceFactory.cpp 2017-11-27 22:08:40 +03:00
alexey-milovidov
d6766a8ef4 Update DictionarySourceFactory.h 2017-11-27 22:08:40 +03:00
alexey-milovidov
1a28e785af Update DictionarySourceFactory.cpp 2017-11-27 22:08:40 +03:00
Roman Lipovsky
b218dfab1c [clickhouse-yt] support external dictionaries registration in DictionarySourceFactory 2017-11-27 22:08:40 +03:00
Alexey Milovidov
42cc689474 Miscellaneous [#CLICKHOUSE-2]. 2017-11-26 22:22:33 +03:00
Alexey Milovidov
6266ecc5ed Miscellaneous [#CLICKHOUSE-2]. 2017-11-25 02:03:58 +03:00
alexey-milovidov
33ddc5e0f5 Update ConfigProcessor.cpp 2017-11-25 02:00:10 +03:00
Alexey Vasiliev
a6ee2125a4 ConfigProcessor: explicit ctor [#MOBMET-7044] 2017-11-25 02:00:10 +03:00
Alexey Vasiliev
bc3b20edac fixed one more ConfigProcessor usage [#MOBMET-7044] 2017-11-25 02:00:10 +03:00
Alexey Vasiliev
1114a749e3 fixed one more ConfigProcessor usage [#MOBMET-7044] 2017-11-25 02:00:10 +03:00
Alexey Vasiliev
592f892821 fixed one more ConfigProcessor usage [#MOBMET-7044] 2017-11-25 02:00:10 +03:00
Alexey Vasiliev
6cb97b9221 ConfigProcessor: do not create config-preprocessed before setting umask [#MOBMET-7044] 2017-11-25 02:00:10 +03:00
alexey-milovidov
3a0e0173ab
Merge pull request #1545 from samael500/master
Fix integer overflow
2017-11-25 01:43:48 +03:00
proller
827a5d0612 Fix warnings-errors in gtest 2017-11-24 23:40:14 +03:00
proller
6ff1968196 Compile and likk optimize and fixes 2017-11-24 21:08:01 +03:00
proller
0d3c4f4d67 Core/FieldVisitors.h -> Common/FieldVisitors.h
Core/Progress.h -> IO/Progress.h
    tests: sudo --non-interactive
    Fix freebsd link
2017-11-24 16:55:31 +03:00
Maks Skorokhod
d5cdfa6a48
🔧 fix typeowerflow on gcd and modulo functions 2017-11-24 11:17:49 +03:00
Alexey Milovidov
859bf86a43 Fixed error found by ASan with debug libc++ (actually not dangerous) [#CLICKHOUSE-2]. 2017-11-23 18:24:55 +03:00
Alexey Zatelepin
78aaa42ddd add idempotent retries of updating the replica queue in ZooKeeper [#CLICKHOUSE-3405] 2017-11-23 16:19:29 +03:00
Maks Skorokhod
a06ca9cb82
:octocat: merge with master 2017-11-23 11:57:10 +03:00
Maks Skorokhod
e0f981f48c
🔧 correct type cast for LCM result 2017-11-23 11:40:06 +03:00
Alexey Milovidov
e15d637714 Miscellaneous [#CLICKHOUSE-2]. 2017-11-23 05:12:09 +03:00
Alexey Milovidov
4bf120b285 Miscellaneous [#CLICKHOUSE-2]. 2017-11-23 05:11:16 +03:00
Alexey Milovidov
562cfe9f9f Fixed error (static initializers became too complex) [#CLICKHOUSE-2]. 2017-11-23 00:09:23 +03:00
Alexey Milovidov
d2c900cdcc Fixed error (static initializers became too complex) [#CLICKHOUSE-2]. 2017-11-23 00:08:14 +03:00
Alexey Milovidov
1872f6ad6d Fixed error (static initializers became too complex) [#CLICKHOUSE-2]. 2017-11-22 23:54:55 +03:00
Alexey Milovidov
df95b81196 Fixed error (static initializers became too complex) [#CLICKHOUSE-2]. 2017-11-22 23:53:47 +03:00
Alexey Milovidov
11afd41f5e Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams 2017-11-22 22:42:49 +03:00
Maks Skorokhod
6b5fafbf73 🔁 add gcd and lcm to generate functions 2017-11-22 22:42:16 +03:00
Maks Skorokhod
f4489f17fc 🔧 use correct result types 2017-11-22 22:42:16 +03:00
Maks Skorokhod
25509e2ee2 🔁 add GCD and LCM functions support 2017-11-22 22:42:16 +03:00
Alexey Milovidov
f3b0f17d50 Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams 2017-11-22 22:02:24 +03:00
proller
875ef9b5cf Fix allocator test 2017-11-22 17:54:12 +03:00
Maks Skorokhod
a6f1707158
🔁 add gcd and lcm to generate functions 2017-11-22 13:48:59 +03:00
Maks Skorokhod
f09855e6f8
🔧 use correct result types 2017-11-22 12:50:23 +03:00
Maks Skorokhod
c31fd8ba88
🔁 add GCD and LCM functions support 2017-11-22 12:25:36 +03:00
Alexey Milovidov
c13872450f Whitespace [#CLICKHOUSE-2]. 2017-11-22 05:42:53 +03:00
Alexey Milovidov
d50511b8e1 Whitespace [#CLICKHOUSE-2]. 2017-11-22 05:42:02 +03:00
Alexey Milovidov
2d98a33dd0 Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams 2017-11-22 05:40:07 +03:00
alexey-milovidov
35ce63a762 Revert "Propagate readPrefix in ParallelInputsProcessor" 2017-11-22 05:17:42 +03:00
Alexey Zatelepin
7775216c3d do not save query output options to the ATTACH query [#CLICKHOUSE-3439] 2017-11-22 00:39:03 +03:00
Alexey Zatelepin
b2963d4c60 add current database to a CREATE SELECT query only for views [#CLICKHOUSE-3448] 2017-11-22 00:39:03 +03:00