Commit Graph

213 Commits

Author SHA1 Message Date
alesapin
76baaf9620 CLICKHOUSE-3878: Remove redundant prefix 2018-08-13 18:00:41 +03:00
alesapin
6fe3f0b13c Merge remote-tracking branch 'upstream/master' 2018-08-13 12:36:27 +03:00
alesapin
53b23e0113 CLICKHOUSE-3878: Add inherited fd's closing function 2018-08-12 15:23:22 +03:00
proller
1e3c637741 Try fix internal compiler headers path 2018-08-11 02:28:33 +03:00
proller
3af99efd65 CLICKHOUSE-3530: Versioned inetrnal compiler headers (#2837) 2018-08-10 22:53:49 +03:00
alesapin
c3588a582c CLICKHOUSE-3878: Add some comments and small readme 2018-08-10 17:46:12 +03:00
alesapin
dde09bd8a5 CLICKHOUSE-3878: Start bridge not like daemon but background child, more explicit logging, fix mutex bug, add SCOPE_EXIT in bridge 2018-08-10 14:42:12 +03:00
alesapin
6d40546a9a CLICKHOUSE-3878: Remove connection string building and validation, change format of columns in request, more convinient exception messages 2018-08-09 15:57:34 +03:00
alesapin
1bedb971d0 Merge fixes 2018-08-08 19:54:09 +03:00
alesapin
46e9dc132a CLICKHOUSE-3878: Remove redundant message 2018-08-08 19:44:41 +03:00
alesapin
b31dd7bf1f CLICKHOUSE-3878: Correct max_block_size handling 2018-08-08 19:41:08 +03:00
alesapin
fe10ccb1f7 CLICKHOUSE-3878: Remove some copypaste 2018-08-08 19:29:09 +03:00
alesapin
92f3beb95b CLICKHOUSE-3878: Better odbc-bridge with ability to handle custom logs and exceptions 2018-08-08 19:15:29 +03:00
Alexey Milovidov
bec5a85030 Fixed test #2813 2018-08-08 05:11:16 +03:00
Alexey Milovidov
5860838776 Fixed inconsistency and bad style #1652 2018-08-08 03:12:40 +03:00
alesapin
dd01eb6b40 CLICKHOUSE-3878: Add odbc-bridge first version 2018-08-07 20:57:44 +03:00
chertus
8fde28deda issues-2813 return error code to OS on query processing error 2018-08-07 13:55:39 +03:00
Alexey Milovidov
387e68b106 Better order of linking [#CLICKHOUSE-2] 2018-08-06 23:12:55 +03:00
Alexey Milovidov
9975960d77 Added max_partition_size_to_drop to config #2782 2018-08-06 20:23:27 +03:00
alexey-milovidov
0ef2a94d46
Merge pull request #2782 from VadimPE/CLICKHOUSE-3714
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-06 20:20:59 +03:00
Alexey Milovidov
e523f9a2c8 Fixed names [#CLICKHOUSE-2] 2018-08-05 11:54:57 +03:00
Alexey Milovidov
1b1754e598 Fixed build #2794 2018-08-04 00:13:54 +03:00
alexey-milovidov
11a7825ce7
Update Client.cpp 2018-08-03 23:48:43 +03:00
proller
010350a088 Build fixes (#2794)
* More information in 'Cannot read all data' errors

* Build fixes

* Apple version fix

* Fix

* clean

* New libs fixes

* Freebsd fixes

* macos fix

* Fix macos build

* fix

* fix

* Update CMakeLists.txt

* freebsd fix

* fix

* Update CMakeLists.txt
2018-08-03 19:39:04 +03:00
VadimPE
6142d9ae6a CLICKHOUSE-3714 fix function names and get partition size 2018-08-03 11:33:57 +03:00
alexey-milovidov
f2d0746056
Update Server.cpp 2018-08-02 23:32:00 +03:00
morty
69f7948bbd Use system tables for formats, engines, functions, collations, types 2018-08-02 17:57:57 +03:00
morty
fac492a3e4 Resolved conflicts 2018-08-02 14:01:52 +03:00
VadimPE
08fe108ba8 CLICKHOUSE-3714 fix methods name 2018-08-02 11:48:57 +03:00
Vadim
034a88a504
Merge branch 'master' into CLICKHOUSE-3714 2018-08-01 20:42:56 +03:00
VadimPE
66d9ba3eb7 CLICKHOUSE-3714 add max_partition_size_to_drop 2018-08-01 20:41:18 +03:00
proller
d72ba2701b CLICKHOUSE-3771 Preparing for new version scheme [WIP] (#2646)
* CLICKHOUSE-3771: compatible version transfer

* Fix

* Fixed compatibility

* fix

* Auto version update to [1.1.54401] [54398]

* fix auto revision up

* fix

* comments

* clean

* fix

* Send/recieve patch if we can

* fix

* Auto version update to [18.2.0] [54397]

* Client version in query_log

* Update TCPHandler.cpp

* Update Connection.cpp

* Update Defines.h
2018-08-01 00:36:18 +03:00
alesapin
2db2d208e1 CLICKHOUSE-3863: Add HTTPS support for interserver replication 2018-08-01 00:29:47 +03:00
chertus
5f46894cf0 CLICKHOUSE-2 client testmode fixes: reconnect on clientError, clear expected errors, return error to OS 2018-07-30 21:27:04 +03:00
alexey-milovidov
cac790f08f
Update Client.cpp 2018-07-27 20:37:53 +03:00
chertus
6283c3f572 CLICKHOUSE-2: support negative tests 2018-07-27 20:19:22 +03:00
alexey-milovidov
24b0be2cf0
Merge pull request #2727 from alesapin/CLICKHOUSE-3832
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 20:50:09 +03:00
alesapin
368face3c9 CLICKHOUSE-3832: Fix typo 2018-07-26 19:10:21 +03:00
alesapin
4fb89512b1 CLICKHOUSE-3832: Add error code to exception and change message, also change check for interserver_http_credentials 2018-07-26 19:01:43 +03:00
alesapin
b7f937785d CLICKHOUSE-3832: Remove empty lines 2018-07-26 18:23:16 +03:00
alesapin
6abbfbce87 CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol 2018-07-26 18:10:57 +03:00
alesapin
175f564137 CLICKHOUSE-3832: Fix bracket 2018-07-26 12:53:59 +03:00
alesapin
c3b4551426 CLICKHOUSE-3832: Add interserver-side authentification. 2018-07-25 19:38:29 +03:00
Alexey Milovidov
7c07f46d50 Style [#CLICKHOUSE-2] 2018-07-24 21:46:23 +03:00
proller
dfa41cdc19 Fix build without readline 2018-07-19 12:29:02 +03:00
proller
51cdec0bec CLICKHOUSE-3771: fixes 2018-07-18 12:48:45 +03:00
proller
cce2e005c5 Macos default build fixes 2018-07-16 17:16:26 +03:00
VadimPE
0036e75a92 add example in users.xml 2018-07-15 00:22:29 +03:00
Alexey Milovidov
0352d6916f Updated default clickhouse-client config #1959 2018-07-11 18:58:29 +03:00
Alexey Milovidov
abf8cd24d7 Fixed discrepancy [#CLICKHOUSE-2837] 2018-07-10 21:39:32 +03:00
Alexey Milovidov
98f8ae3edb Fixed error with timeouts [#CLICKHOUSE-2837] 2018-07-10 20:40:17 +03:00
Alexey Milovidov
f00f9d1f9a Merge branch 'master' into CLICKHOUSE-2910 2018-07-04 16:29:58 +03:00
Nikolai Kochetov
323578c8b6 Reload client connection params before reconnection. #2580 2018-07-02 20:46:33 +03:00
morty
35c0ab9783 Merge branch 'master' into feature/suggestions 2018-07-02 11:52:45 +03:00
Alexey Milovidov
9845814701 Obfuscator: added heuristic #2518 2018-06-30 22:03:26 +03:00
Alexey Milovidov
394b020869 Fixed potential issue in Obfuscator on illegal UTF-8 source #2518 2018-06-30 02:27:56 +03:00
Alexey Milovidov
e051998e1c Renamed setting "send_logs_level" #2482 2018-06-28 23:11:14 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910 2018-06-28 20:47:25 +03:00
Alexey Milovidov
d4eefc414c Merge branch 'query_in_form_data' of https://github.com/stavrolia/ClickHouse into stavrolia-query_in_form_data 2018-06-28 20:34:58 +03:00
morty
492040bd66 Merge branch 'master' into feature/suggestions 2018-06-25 11:22:15 +03:00
proller
e1ae5233df Add // Y_IGNORE tags 2018-06-21 18:24:36 +03:00
Vitaliy Lyudvichenko
1a4157f2a9 clickhouse_common_io does not depend on dbms. [#CLICKHOUSE-2910]
Get rid of extra linking dependencies for clickhouse_common_io. [#CLICKHOUSE-2910]
2018-06-21 15:13:56 +03:00
Vitaliy Lyudvichenko
358e4ae9bf Fixed failures in utils, more precise test. [#CLICKHOUSE-2910] 2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-19 23:33:11 +03:00
Vitaliy Lyudvichenko
e13ba09004 Rewritten ThreadStatus via adding shared thread state. [#CLICKHOUSE-2910]
Fixed race condition in SystemLog.
2018-06-19 23:30:35 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes (#2488)
CONTRIB-254
2018-06-19 21:09:09 +03:00
morty
c063d5c5e4 Merge branch 'master' into feature/suggestions 2018-06-19 17:08:27 +03:00
morty
47c6dc1728 Added missing query keywords, preload dictionary names and attributes, fixes and cleanup 2018-06-19 17:07:10 +03:00
Vitaliy Lyudvichenko
392f6e0c6c Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910] 2018-06-18 16:41:13 +03:00
Alexey Milovidov
3ea8ce1c0a Obfuscator: better default parameter #2518 2018-06-17 02:34:34 +03:00
Alexey Milovidov
2298f1c68b Fixed strange code #2501 2018-06-16 08:54:06 +03:00
Alexey Milovidov
52755f248a Fixed error [#CLICKHOUSE-2] 2018-06-16 06:35:23 +03:00
Alexey Milovidov
d8eb8c8ddf Fixed error [#CLICKHOUSE-2] 2018-06-16 06:31:49 +03:00
alexey-milovidov
d853b28543
Merge pull request #2513 from yandex/trim-exit-string
Trim exit string
2018-06-16 05:15:25 +03:00
Alexey Milovidov
e66cdfe429 Fixed error [#CLICKHOUSE-2] 2018-06-16 05:06:51 +03:00
Alexey Milovidov
e6aa58e667 Fixed error [#CLICKHOUSE-2] 2018-06-16 05:04:46 +03:00
Alexey Milovidov
fae4359ee1 Data obfuscator: added documentation [#CLICKHOUSE-2] 2018-06-16 04:45:19 +03:00
Alexey Milovidov
9d137881a9 Data obfuscator: added documentation [#CLICKHOUSE-2] 2018-06-16 04:44:25 +03:00
Alexey Milovidov
914b1fc967 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-16 03:52:27 +03:00
Alexey Milovidov
116c91c9ca Data obfuscator: development [#CLICKHOUSE-2] 2018-06-16 03:50:52 +03:00
Alexey Milovidov
4e02a4c81f Data obfuscator: development [#CLICKHOUSE-2] 2018-06-16 03:27:59 +03:00
Alexey Milovidov
80ed67c8ee Data obfuscator: development [#CLICKHOUSE-2] 2018-06-16 02:54:33 +03:00
Vitaliy Lyudvichenko
a0e9d17bfd Add query_id and host_name to server logs. [#CLICKHOUSE-2910] 2018-06-15 16:49:01 +03:00
Alexey Milovidov
16c16dcc2d Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 13:42:13 +03:00
Alexey Milovidov
9043e36fa1 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 13:03:02 +03:00
Alexey Milovidov
ddd10d956b Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 12:44:14 +03:00
Alexey Milovidov
108cca6ac1 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 12:40:40 +03:00
Alexey Milovidov
47bded3520 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 12:21:53 +03:00
Alexey Milovidov
3de1efa2c2 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 12:07:42 +03:00
Alexey Milovidov
bd5247864b Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 11:53:06 +03:00
Alexey Milovidov
43a98634a9 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 10:09:54 +03:00
Alexey Milovidov
5fa604db7b Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 09:27:16 +03:00
Alexey Milovidov
e1b85c84f7 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 09:14:39 +03:00
Alexey Milovidov
1c4eb2c586 Data obfuscator: development [#CLICKHOUSE-2] 2018-06-15 08:33:39 +03:00
Nikolai Kochetov
27c6df7e20 Trim exit string before checking. #2510 2018-06-14 22:15:35 +03:00
Vitaliy Lyudvichenko
608895d9ff Disable compression for Log packets. [#CLICKHOUSE-2910] 2018-06-14 18:33:59 +03:00
Vitaliy Lyudvichenko
e5e73d4a9b Add CAP_NET_ADMIN capability check. [#CLICKHOUSE-2910] 2018-06-14 17:58:39 +03:00
Vitaliy Lyudvichenko
4cd230f85c Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-14 16:04:00 +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
29bd48fc7a Passing settings to ser/de of data types: development #1710 2018-06-08 05:24:27 +03:00
morty
a1fa590b69 Merge branch 'master' into feature/suggestions 2018-06-07 19:19:55 +03:00
proller
cb65528147 Build fixes (#2481)
* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Build fix

* Fix test

* test fixes

* test: netcat-openbsd

* Compile fixes

* Update AggregateFunctionStatisticsSimple.h

* Update FunctionsRound.h
2018-06-07 17:42:38 +03:00
morty
ec10e58df2 Turn off autocompletion if no readline library 2018-06-07 11:58:55 +03:00
proller
095420e158 Build fixes (#2475)
* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Build fix

* Fix test
2018-06-07 04:20:53 +03:00
proller
347579ce46 Cmake: mark system includes as SYSTEM (#1449)
* contrib: cctz as submodule. update cctz.

* pbuilder: add ubuntu bionic, devel

* Cmake: mark system includes as SYSTEM

* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Cmake: Add SYSTEM to includes for external libs
2018-06-06 23:21:58 +03:00
proller
8ba439a8b7 Build fix (copy-headers) 2018-06-06 22:57:01 +03:00
proller
4dabc18585 Build fix 2018-06-06 22:00:11 +03:00
morty
f99433e09c Merge branch 'master' into feature/suggestions 2018-06-06 21:59:41 +03:00
proller
01a31414eb
Build fixes (#2474) 2018-06-06 21:41:39 +03:00
morty
3e14bdddb0 Load suggestions in different thread 2018-06-06 21:19:17 +03:00
morty
823068f2fe Resolved conflicts 2018-06-06 19:48:33 +03:00
proller
82a4565ebe
Build fixes (#2473) 2018-06-06 19:05:53 +03:00
Alexey Milovidov
51044279e5 Squashed #2471 2018-06-05 23:09:51 +03:00