proller
db13ef96d6
Fix ssl init ( #3056 )
...
* Try to fix ../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
* Fix ssl init
* fix
* noncopyable
* clean
2018-09-06 21:05:33 +03:00
Alexey Milovidov
f584344184
Miscellaneous [#CLICKHOUSE-3939]
2018-09-06 05:24:35 +03:00
Alexey Milovidov
d8809eb2a1
Whitespaces [#CLICKHOUSE-3939]
2018-09-06 04:57:55 +03:00
alesapin
aaf5720198
Fix type in odbc source and remove pointer from mongo source
2018-09-05 23:33:45 +03:00
alesapin
cd07fd6246
Remove unused header
2018-09-05 23:22:20 +03:00
alesapin
2d9a62cfe8
Fix MongoDB api call
2018-09-05 23:19:31 +03:00
alesapin
8b7d6ccd8c
Small improvements
2018-09-05 19:20:12 +03:00
alesapin
d12ec5c602
Merge branch 'support_uuid_in_external_dicts' of https://github.com/The-Alchemist/ClickHouse into The-Alchemist-support_uuid_in_external_dicts
2018-09-05 16:20:45 +03:00
Alexey Milovidov
5b257c588f
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:42:13 +03:00
Alexey Milovidov
6e18af7ed3
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:18:14 +03:00
Amos Bird
ea84430864
Get rid of useless std::move to get NRVO
...
http://eel.is/c++draft/class.copy.elision#:constructor,copy,elision
Some quote:
> Speaking of RVO, return std::move(w); prohibits it. It means "use move constructor or fail to compile", whereas return w; means "use RVO, and if you can't, use move constructor, and if you can't, use copy constructor, and if you can't, fail to compile."
There is one exception to this rule:
```cpp
Block FilterBlockInputStream::removeFilterIfNeed(Block && block)
{
if (block && remove_filter)
block.erase(static_cast<size_t>(filter_column));
return std::move(block);
}
```
because references are not eligible for NRVO, which is another rule "always move rvalue references and forward universal references" that takes precedence.
2018-08-27 22:15:48 +08:00
Alexey Milovidov
91496574aa
Fixed error #2913
2018-08-24 08:45:03 +03:00
Alexey Milovidov
761422da22
Miscellaneous #2913
2018-08-24 08:37:06 +03:00
Alexey Milovidov
6043ea02de
Style #2913
2018-08-24 08:25:00 +03:00
Alexey Milovidov
27d43fb7ff
Fixed typo #2913
2018-08-24 08:21:53 +03:00
Alexey Milovidov
f4813a47f8
Whitespaces #2913
2018-08-24 08:20:18 +03:00
proller
fc2925b567
Squashed commit of the following:
...
commit 2722e540abfee4a527d716474c4ca582eceeee08
Merge: b4f3af824 aebddd550
Author: proller <proller@github.com>
Date: Tue Aug 21 18:34:18 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit b4f3af824b88a8b6826583bb483730827574e8ad
Author: proller <proller@github.com>
Date: Tue Aug 21 17:00:20 2018 +0300
fix
commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d
Author: proller <proller@github.com>
Date: Tue Aug 21 16:57:17 2018 +0300
fix
commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891
Author: proller <proller@github.com>
Date: Tue Aug 21 16:50:21 2018 +0300
freebsd fixes
commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da
Author: proller <proller@github.com>
Date: Tue Aug 21 16:17:19 2018 +0300
fix
commit e1fe707fd765b841a8d0952d91a980128cbf91d0
Author: proller <proller@github.com>
Date: Tue Aug 21 15:35:21 2018 +0300
fix
commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac
Author: proller <proller@github.com>
Date: Tue Aug 21 15:25:57 2018 +0300
fix
commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e
Author: proller <proller@github.com>
Date: Tue Aug 21 15:20:41 2018 +0300
fix
commit 93d572c85d9c7e331254999a614c3b22b5573b02
Author: proller <proller@github.com>
Date: Tue Aug 21 14:58:07 2018 +0300
SPLIT_SHARED
commit dd5b8990d8527d59b1e890943d80c2bf27c613ce
Author: proller <proller@github.com>
Date: Tue Aug 21 14:52:39 2018 +0300
fix
commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7
Author: proller <proller@github.com>
Date: Tue Aug 21 14:46:31 2018 +0300
fix
commit abde633beb86f2a0d025d6fcf079965dbd827b92
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:32 2018 +0300
fix
commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d
Author: proller <proller@github.com>
Date: Tue Aug 21 14:45:18 2018 +0300
Travis: try fail on ninja fail
commit c2686f90b68255c2beb0a708804aef404e80a6d2
Merge: 2c3427bbd 2aa7eb463
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:15 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:24 2018 +0300
fix
commit 530170c6a81d31dcfa81230e48520383234df4bc
Merge: 9abec162c f6e4ec970
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:03 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77
Author: proller <proller@github.com>
Date: Mon Aug 20 23:49:58 2018 +0300
Apple fixes
commit 36d05e8217440fbc8ae21571b06d4eb6d679d538
Author: proller <proller@github.com>
Date: Mon Aug 20 23:25:05 2018 +0300
apple fix
commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33
Author: proller <proller@github.com>
Date: Mon Aug 20 23:20:06 2018 +0300
fixes
commit 427961d916a5954981e47d94733996deb2a616ce
Author: proller <proller@github.com>
Date: Mon Aug 20 23:11:11 2018 +0300
fix
commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af
Author: proller <proller@github.com>
Date: Mon Aug 20 22:41:53 2018 +0300
fix
commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2
Merge: 8a541d7e6 21cedbe46
Author: proller <proller@github.com>
Date: Mon Aug 20 22:35:49 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8a541d7e64c89e2c16af6c909e0353361153aaa3
Author: proller <proller@github.com>
Date: Mon Aug 20 22:34:32 2018 +0300
Do not use poco types
commit fd560f43d048b7e3307c6c6b9c9d9918230014d8
Author: proller <proller@github.com>
Date: Mon Aug 20 22:20:42 2018 +0300
Try fix apple build
commit cfb2eba07ac06f19e822d3474341d800b1f98cf1
Merge: 8d2e31c90 5b81fdfc0
Author: proller <proller@github.com>
Date: Mon Aug 20 22:03:24 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c
Author: proller <proller@github.com>
Date: Mon Aug 20 21:56:06 2018 +0300
travis: TEST_SERVER_STARTUP_WAIT=10
2018-08-21 18:56:50 +03:00
alesapin
f6c9587d0a
CLICKHOUSE-3878: Move last interaction with ODBC from main code to bridge, split Handlers file on three different, slightly remove copy-paste code
2018-08-19 20:09:54 +03:00
Amos Bird
57970a8bef
Using correct config ref to initialize odbc bridge
2018-08-17 19:00:42 +08:00
alesapin
6fa4af882f
CLICKHOUSE-3878: Build fixes
2018-08-16 01:00:28 +03:00
alesapin
af19d4133d
CLICKHOUSE-3878: Move connection string validation to common, remove redundant headers, fix compilation issues
2018-08-14 13:33:41 +03:00
alesapin
83d5dba53b
CLICKHOUSE-3878: Move ODBCDictionary to odbc-bridge
2018-08-13 21:10:26 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
The-Alchemist
a9b3279265
Support for UUID in ODBC dictionaries
2018-08-07 15:09:30 -04:00
Alexey Milovidov
76e06fe0eb
Don't escape values of parameters of ODBC connection string if it is not necessarily, because drivers don't recognize them [#CLICKHOUSE-3861]
2018-08-02 08:30:52 +03:00
Alexey Milovidov
60187ab716
Miscellaneous [#CLICKHOUSE-3861]
2018-08-01 21:21:03 +03:00
Alexey Milovidov
1cdbf16837
More tests [#CLICKHOUSE-3861]
2018-08-01 00:25:26 +03:00
alexey-milovidov
0f25e8277c
Update validateODBCConnectionString.cpp
2018-08-01 00:25:26 +03:00
alexey-milovidov
369145bd30
Update validateODBCConnectionString.cpp
2018-08-01 00:25:26 +03:00
Alexey Milovidov
c9ab39c8c6
Added validation of ODBC connection string [#CLICKHOUSE-3861]
2018-08-01 00:25:26 +03:00
Alexey Milovidov
c2a50991c9
Minor modifications [#CLICKHOUSE-2]
2018-07-25 03:00:08 +03:00
Alexey Milovidov
245b114363
Quote all identifiers when querying external database #2635
2018-07-20 03:04:48 +03:00
alesapin
56523948bf
CLICKHOUSE-3842: Rename local variables
2018-07-19 16:51:57 +03:00
alesapin
ae44b41318
CLICKHOUSE-3842: Fix loadKeys method in dictionary library
2018-07-19 16:51:57 +03:00
Alexey Milovidov
2298f1c68b
Fixed strange code #2501
2018-06-16 08:54:06 +03:00
alexey-milovidov
fafecb3c25
Better modularity of formats. ( #2492 )
...
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development): removed very old tests #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
2018-06-10 22:22:49 +03:00
Alexey Milovidov
26d448baad
Passing settings to ser/de of data types: development #1710
2018-06-08 04:51:55 +03:00
alesapin
40c2b21b65
Change dictionary shared library api to v3. Both in library and examples.
2018-06-07 20:41:14 +03:00
alesapin
d2bfa25769
Remove unused include
2018-06-07 12:22:27 +03:00
alesapin
2a39f05f99
Shared Library Dict Logging: Replace multiple functions with single one and add logging examples into test libraries
2018-06-06 23:21:16 +03:00
alesapin
1adee7a6c5
Merge remote-tracking branch 'upstream/master'
2018-06-06 17:35:55 +03:00
alesapin
6426e573aa
Fix format
2018-06-06 17:35:33 +03:00
Alexey Milovidov
b9b89a5590
Less dependencies [#CLICKHOUSE-2]
2018-06-05 22:46:49 +03:00
Alexander Sapin
5a524a7819
Remove empty lines
2018-06-05 22:20:16 +03:00
Alexander Sapin
4e3dc0d8a2
Introduce logging in shared library dictionaries
2018-06-05 22:17:16 +03:00
Alexey Milovidov
8cb65277e2
Non significant changes according to clang's -Weverything, part 5 [#CLICKHOUSE-2]
2018-06-04 01:11:50 +03:00
Alexey Milovidov
7c60adbebb
Non significant changes according to clang's -Weverything, part 4 [#CLICKHOUSE-2]
2018-06-03 23:48:36 +03:00
Alexey Milovidov
f5adbceed2
Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2]
2018-06-03 23:39:06 +03:00
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
Alexey Milovidov
550053a0ca
Merge branch 'master' into header-in-input-streams
2018-01-10 03:05:51 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00