Commit Graph

208 Commits

Author SHA1 Message Date
proller
28ed324702 add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs 2017-03-16 13:51:41 +04:00
Alexey Milovidov
7606eef20c Style [#CLICKHOUSE-2]. 2017-03-13 20:37:20 +03:00
Alexey Milovidov
07f256015b Revert "Update Client.cpp"
This reverts commit 4eb969087d.
2017-03-13 20:35:17 +03:00
alexey-milovidov
4eb969087d Update Client.cpp 2017-03-13 21:33:18 +04:00
ks1322
afbd2f78d8 pager for command line client 2017-03-13 00:10:52 +03:00
Alexey Milovidov
5546f7f75b Normalized formatting [#CLICKHOUSE-3]. 2017-03-09 07:26:17 +03:00
f1yegor
48bd5b696c translate comments 2017-03-09 01:56:38 +01:00
proller
045fd6f55d fix build without readline 2017-02-08 01:40:08 +03:00
proller
3135ff17b6 Fix compiling utils without readline (#429)
* Fix compiling utils without readline

* fix
2017-01-31 23:34:30 +04:00
alexey-milovidov
de9bc1dc75 Text formats allow to skip errors (#407)
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134

* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
proller
70e641f58a Fix readline finding on mac; use config for readline vars (#397)
* Fix readline finding on mac; use config for readline vars

* fix
2017-01-26 00:14:41 +04:00
Alexey Zatelepin
f5a25c341c translate comments [#CLICKHOUSE-3] 2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4 parse INTO OUTFILE clause [#CLICKHOUSE-2133] 2017-01-19 03:48:59 +04:00
Alexey Milovidov
604bd6c5a3 Less const_casts [#METR-2944]. 2017-01-03 04:42:17 +03:00
Alexey Milovidov
901c6a8d50 Addition to prev. revision [#METR-22799]. 2016-12-24 04:30:05 +03:00
Alexey Milovidov
47756eda45 Fixed error with --external command line arguments for clickhouse-client [#METR-22799]. 2016-12-24 00:34:49 +03:00
Vitaliy Lyudvichenko
6fe581c172 Added --stacktrace option to clickhouse-local. [#METR-23765]
Added support of path config variable and ability to load clickhouse-server data. [#METR-20000]
Default database of clickhouse-local is changed to "_local" to avoid collisions with clickhouse-server.

Small fixes and enhancements of command line options (setting and limits). [#METR-23101]
2016-12-20 18:01:05 +03:00
Alexey Milovidov
cdfeccd38d clickhouse-client: Fixed error that 'host' and 'port' parameters cannot have default values set in configuration file [#METR-23829]. 2016-12-14 00:26:31 +03:00
Igor Hatarist
b22e4981df Add clickhouse-client option: --version 2016-12-12 12:25:33 +03:00
Alexey Milovidov
f9c31c42c5 Fixed error after updating boost [#METR-2944]. 2016-12-12 10:56:49 +03:00
Alexey Zatelepin
307e397dce adopt server timezone in non-interactive mode also 2016-11-17 00:12:08 +00:00
alexey-milovidov
3432f84409 Merge pull request #183 from ztlpn/METR-23447
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
Alexey Zatelepin
e1bb33cad0 PR fixes:
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Alexey Zatelepin
3a7260e200 [#METR-23447] Client uses server timezone for DateTime string parsing 2016-11-13 19:34:31 +00:00
Vitaliy Lyudvichenko
c05f512637 Merged server, client and local into single binary, more args for local mode. 2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1 Implemented draft version of clickhouse-local service. 2016-11-09 22:03:47 +03:00
Alexey Milovidov
daeac24f04 Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279]. 2016-10-25 00:40:39 +03:00
Alexey Milovidov
b1f551d5ba Client: Don't exit (only break) at first error in interactive mode when processing multiple queries in one command [#METR-19563]. 2016-10-15 03:38:59 +03:00
Alexey Milovidov
374b2bc356 Client: fixed error that 'format' command line option was collided between common arguments and arguments for external tables [#METR-22057]. 2016-08-19 00:00:00 +03:00
Alexey Milovidov
9012d0727d Updated comment [#METR-22252]. 2016-08-17 09:12:17 +03:00
Alexey Milovidov
56a091cb6e Throw exception when multi-statements are disabled [#METR-22252]. 2016-08-17 08:38:51 +03:00
Alexey Milovidov
ee40dfb9cb Statistics in JSON formats: development [#METR-22400]. 2016-08-17 06:29:26 +03:00
Alexey Milovidov
a71f846d27 Client: added --echo option to simlify investigating diff of functional tests [#METR-22352]. 2016-08-10 08:13:45 +03:00
Alexey Milovidov
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
6f4fc79cde Better [#METR-2944]. 2016-07-31 06:53:16 +03:00
Alexey Milovidov
1bde542a29 Client: fixed incompatibility after library update [#METR-22227]. 2016-07-28 04:41:26 +03:00
Alexey Milovidov
1417f19d7c Client: allowed to override compression from command line [#METR-21944]. 2016-07-05 00:03:23 +03:00
Alexey Milovidov
f8b4ade0ec Added 'stacktrace' parameter for HTTP interface (0, don't output stack trace by default) [#METR-21846]. 2016-06-25 10:22:12 +03:00
Alexey Milovidov
646d70a545 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
6863e72f3d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:15:36 +03:00
Alexey Milovidov
19307ac141 Client: allowed not to use readline [#METR-20000]. 2016-05-17 03:59:24 +03:00
Alexey Milovidov
12363ed329 Added limited support for expressions in INSERT ... VALUES [#METR-20048]. 2016-02-13 09:37:19 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
f8ddee2443 dbms: fixed comment (tnx. chebotarev) [#METR-2944]. 2016-02-03 00:13:30 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
9177841f1b dbms: client: in multiquery mode: break at first exception [#METR-19563]. 2015-12-24 22:27:14 +03:00