Commit Graph

286 Commits

Author SHA1 Message Date
Alexey Milovidov
734cebdf09 Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2] 2018-06-03 19:51:31 +03:00
Arsen Hakobyan
dfe65ba842 Now uses Poco::URI::addQueryParameter for "update_field" parameter 2018-05-18 19:22:28 +03:00
Arsen Hakobyan
ad9659574f Adds percent encoding for "update_field" parameter
Handles cases when url has fragment
2018-05-18 19:22:28 +03:00
sundy-li
8a5990fc74 add integration test_storage_mysql 2018-05-15 03:02:59 +03:00
proller
fb911f7cfa Allow force disable libs: poco netssl poco mongodb, poco data odbc 2018-05-14 21:36:01 +03:00
Alexey Milovidov
956128a67a Fixed style a bit [#CLICKHOUSE-2] 2018-05-07 05:01:11 +03:00
Alexey Milovidov
6388c916de Fixed style; added a comment about terribly wrong code [#CLICKHOUSE-2] 2018-04-19 07:23:58 +03:00
Alexey Milovidov
18bbd0e61b Moved SessionPoolHelpers #2180 2018-04-07 06:07:32 +03:00
proller
e58b0830e6
Prepare to new poco (PocoData renamed to PocoSQL) (#2158) 2018-04-03 04:48:40 -07:00
proller
a6f9df105c Allow use encryption for distributed tables (#2065)
* Allow use encryption for distributed tables

* wip

* fix

* rename encryption to secure

* Fix DirectoryMonitor with +secure

* fix

* fix

* Update DirectoryMonitor.cpp

* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
Nikolai Kochetov
a399c17f01 && - qualified IColumn::mutate 2018-03-20 17:01:00 +03:00
proller
153fcd6c9f Fix double free in LibraryDictionarySource (#2028)
* Fix double free in LibraryDictionarySource

* Fix {}

* wip

* wip

* Better Exception

* Fix possible leak
2018-03-14 02:13:39 +03:00
Alexey Milovidov
b7475b1d2c Fixed error: wrong timeouts passed to ConnectionPoolWithFailover [#CLICKHOUSE-3641] 2018-03-12 23:25:18 +03:00
Alexey Milovidov
3f8ef38b41 Fixed wording #245 2018-03-10 02:23:15 +03:00
Alexey Milovidov
3a5754944e Fixed bug after merge [#CLICKHOUSE-2] 2018-03-08 00:32:35 +03:00
Alexey Milovidov
10a6b5c43f Fixed build after merge [#CLICKHOUSE-2] 2018-03-07 22:20:36 +03:00
alexey-milovidov
bd455283cc
Merge pull request #1771 from joomag/dictionary-update
Add external dictionary update feature
2018-03-07 21:48:42 +03:00
Nikolai Kochetov
3f5218bb11 fix DictionaryBlockInputStream::getBlock for empty dictionary 2018-03-07 18:11:23 +03:00
Alexey Milovidov
790b4e3a1b Fixed build #1987 2018-03-02 22:40:44 +03:00
Nikolai Kochetov
5842c35aeb added odbc_default_field_size setting 2018-03-02 15:59:41 +03:00
proller
566d66e858 Dictionary Library source: Persistent per-dictionary custom data store (#1917)
* LibraryDictionarySource: Support numeric types, initial support for strings

* Dictionary Library source with string types

* clang-format

* Dictionary Library source: Persistent per-dictionary custom data store

* Fix unused

* Allocate -> New

* Update examples

* fix
2018-02-26 19:57:14 +03:00
Alexey Milovidov
222fb2c945 Miscellaneous [#CLICKHOUSE-2] 2018-02-21 23:23:27 +03:00
Alexey Milovidov
afe09d3138 Removed unused code [#CLICKHOUSE-2] 2018-02-18 06:46:18 +03:00
Alexey Milovidov
754a4296df Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 06:23:48 +03:00
Alexey Milovidov
c320b360c6 Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams 2018-02-16 21:23:29 +03:00
proller
db8ea9205c
LibraryDictionarySource: api v2 with strings (#1915)
* LibraryDictionarySource: Support numeric types, initial support for strings
2018-02-16 20:12:22 +03:00
Alexey Milovidov
30b657a0da Header in every stream: development [#CLICKHOUSE-2] 2018-02-15 21:54:12 +03:00
Alexey Milovidov
921e09b5f8 Merge branch 'master' into header-in-input-streams 2018-02-15 19:20:36 +03:00
Arsen Hakobyan
7a77b8abf0 Improvements done according to requested changes 2018-02-15 17:08:23 +04:00
Arsen Hakobyan
8b8c7a64b4 Merge branch 'master' of https://github.com/yandex/ClickHouse into dictionary-update 2018-02-15 12:07:58 +04:00
proller
7c7bdc5115
LibraryDictionarySource: Support numeric types, initial support for strings (#1903) 2018-02-14 18:03:48 +03:00
alexey-milovidov
22263ad627
Update MongoDBDictionarySource.cpp 2018-02-07 20:49:41 +03:00
Павел Литвиненко
95ec20d92a added is_object_id to list of valid config keys 2018-02-07 01:35:47 +03:00
Павел Литвиненко
8e61106450 add is_object_id property for determining when to use ObjectId 2018-02-07 00:34:56 +03:00
Павел Литвиненко
abf0a603c1 this make me crazy, how to retrieve document from array??? 2018-02-06 16:04:19 +03:00
Павел Литвиненко
d0e386a13d no message 2018-02-06 15:53:50 +03:00
Павел Литвиненко
b6f3a2565c convert to objectid without use of any property in config 2018-02-06 15:46:48 +03:00
Павел Литвиненко
6a12d30f78 handle default value 2018-02-06 15:39:16 +03:00
Павел Литвиненко
c2545194b6 revert 2018-02-06 15:18:20 +03:00
Павел Литвиненко
53133f76a7 trying to query without $or 2018-02-06 14:43:09 +03:00
Павел Литвиненко
f0f03596c4 revert 2018-02-06 14:15:13 +03:00
Павел Литвиненко
bb90a9742c add ability to query by objectid 2018-02-06 13:03:04 +03:00
Павел Литвиненко
2e847d1a1b fix std::exception. Code: 1001, type: std::logic_error, e.what() = basic_string::_S_construct null not valid 2018-02-04 17:43:29 +03:00
Павел Литвиненко
4ebde2ac7e allow nulls in string field 2018-02-04 17:15:22 +03:00
proller
c1c512766d Fix LibraryDictionarySource reload 2018-02-01 22:56:22 +03:00
Pavel Litvinenko
7db8e99300 Поддержка Mongo ObjectId (#1833)
* update build script (gcc-5 -> gcc-7)

* add gitlab-ci

* sadly but my gitlab worker doesn't have make

* fix gitlkab-ci config

* fix the input device is not a TTY

* set runner tag to docker

* allow to use ObjectId in clickhouse (oid will be converted to string)

* update ci config

* code review
2018-02-01 14:26:44 +03:00
Arsen Hakobyan
89ca08147b Fixes memory leak in hash dictionary
Fixes case when keys might not be loaded for complex key hash dictionary
2018-01-24 16:28:51 +04:00
Alexey Milovidov
9a02d4f5ff Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams 2018-01-20 04:20:40 +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
Arsen Hakobyan
7658665737 Add external dictionary update feature
feature is implemented for DICT TYPES THAT SUPPORT
and for sources SOURCE TYPES THAT ARE SUPPORTED
to use the feature add <update_field>...</...> to dictionary sourcei config.
If the field is skipped or used with unsupported dictionary types,
all data is updated every time if the field is provided,
value of last update time is passed to the source
with the expectation that only records that were updated after
provided time will be passed to the dictionary
2018-01-15 16:44:39 +04:00