Commit Graph

658 Commits

Author SHA1 Message Date
Alexey Milovidov
61f3c4f0d1 Removed useless option --silent from the clickhouse-local, because it was implemented not according to the specs and the options --silent, --verbose, --echo was messed up #1773 2018-08-23 03:14:26 +03:00
Alexey Milovidov
a1d745888d Dummy implementation for non-Linux platforms #2482 2018-08-22 08:56:06 +03:00
Alexey Milovidov
e220a5041f Better location #2877 2018-08-22 06:06:13 +03:00
Alexey Milovidov
3fdff1abea TaskStats: better code #2482 2018-08-22 00:05:30 +03:00
Alexey Milovidov
99d7b8a7ad Allow to quit client while query is in progress by pressing Ctrl+C twice #2877 2018-08-21 21:42:46 +03:00
Alexey Milovidov
a04177290b Miscellaneous #2482 2018-08-21 19:40:54 +03:00
Vladimir Kozbin
cdb7116f37 ISSUES-2629 clickhouse-client: fix reading user from config 2018-08-21 17:04:27 +07:00
Alexey Milovidov
d278cbbed5 Addition to prev. revision #2877 2018-08-21 02:39:41 +03:00
Alexey Milovidov
b98cfe0f66 Addition to prev. revision #2877 2018-08-21 02:30:24 +03:00
Alexey Milovidov
cf224f32c4 Addition to prev. revision #2877 2018-08-21 02:28:27 +03:00
Alexey Milovidov
7fc39611e5 Implemented #2877 in another way 2018-08-21 02:22:20 +03:00
Alexey Milovidov
4cf162914a Example server config: listen to IPv4 (for Travis) [#CLICKHOUSE-2] 2018-08-20 06:47:27 +03:00
Alexey Milovidov
1c9c6f6cfc Moved "TestHint" code to separate file #2744 2018-08-20 06:34:10 +03:00
Alexey Milovidov
b07ad553ef Fixed test #2015 2018-08-20 06:27:16 +03:00
Alexey Milovidov
9e15b49254 Added useful comments that code is totally wrong #2744 2018-08-20 06:21:26 +03:00
Alexey Milovidov
e0f1637506 Moved file to appropriate place; split to cpp #2482 2018-08-20 05:34:00 +03:00
Alexey Milovidov
f1ba2f9a33 Try to fix "query in form data" feature while still tracking limits for external tables (try №2) #2482 2018-08-20 05:23:35 +03:00
Alexey Milovidov
41ec796a67 Little better [#CLICKHOUSE-2] 2018-08-19 23:26:11 +03:00
Alexey Milovidov
ce10e5bd6f Modified example config for running clickhouse-server from the source tree to run tests smoothly [#CLICKHOUSE-2] 2018-08-19 23:21:36 +03:00
Alexey Milovidov
6fb8b4e5cd Opinionated changes #2893 2018-08-19 23:18:31 +03:00
alexey-milovidov
5a30b4790e
Update ColumnInfoHandler.h 2018-08-19 23:13:22 +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
Alexey Milovidov
a6945ba00b Fix according to @ludv1x advise #2482 2018-08-19 08:33:50 +03:00
Alexey Milovidov
aef490d173 Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
Conflicts:
	dbms/src/Common/ODBCBridgeHelper.h
2018-08-17 00:47:15 +03:00
alesapin
2583abfccf CLICKHOUSE-3878: Conflict fixes 2018-08-16 01:02:36 +03:00
alesapin
6fa4af882f CLICKHOUSE-3878: Build fixes 2018-08-16 01:00:28 +03:00
Alexey Milovidov
acb99b49df Merge branch 'master' into CLICKHOUSE-2910 2018-08-14 23:29:42 +03:00
alesapin
942d9a5fee
Merge branch 'master' into master 2018-08-14 17:09:27 +03:00
proller
a2343890dd Build fixes (#2864)
* Try fix internal compiler headers path

* Build fixes

* fix

* wip

* clean

* Update arch.cmake
2018-08-14 16:31:26 +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
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
chertus
07a782e637 fix wrong defaults at columns tail and some build fixes 2018-07-16 22:28:07 +03:00
chertus
e65c0b436a Merge branch 'master' into issue-3578 2018-07-16 18:28:06 +03:00
chertus
2cddb4b840 send metadata only for affected table 2018-07-16 17:52:02 +03:00
proller
cce2e005c5 Macos default build fixes 2018-07-16 17:16:26 +03:00
chertus
925e4c7dbb backward compatibility 2018-07-16 14:28:22 +03:00
VadimPE
0036e75a92 add example in users.xml 2018-07-15 00:22:29 +03:00
chertus
2c4949dd5d fix build without CAPNP 2018-07-13 16:47:13 +03:00
chertus
4e0d9aa8d4 revert unneeded changes 2018-07-13 15:46:29 +03:00
chertus
c8f71cb539 Merge branch 'master' into issue-3578 2018-07-13 14:30:42 +03:00
chertus
f89e476c0f add option to disable sending metadata 2018-07-12 17:33:57 +03:00
Alexey Milovidov
0352d6916f Updated default clickhouse-client config #1959 2018-07-11 18:58:29 +03:00
chertus
fe1b393e55 defaults for storages with formated input 2018-07-11 15:05:04 +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
chertus
519102b110 defaults for http inserts 2018-07-10 20:20:55 +03:00
chertus
bac1f77620 insert defaults (first working version) 2018-07-10 14:40:33 +03:00
chertus
2e4c2328af metadata in capn proto format (in progress - need apply on client) 2018-07-09 19:31:24 +03:00
chertus
c26ca0232d metadata in capn proto format (in progress) 2018-07-06 18:49:33 +03:00
chertus
e34bc2782e 3578: get ColumnDefaults from context (it's empty now) 2018-07-05 14:01:25 +03:00
chertus
88c4081a82 3578: defaults for input streams (in progress) 2018-07-04 20:02:47 +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