Commit Graph
513 Commits
Author SHA1 Message Date
Azat Khuzhin 4cb3de3110 Add pager property into ClientBase
Signed-off-by: Azat Khuzhin <[email protected]>
2023-10-16 22:31:55 +02:00
Azat Khuzhin 3257d5643d Move adjusting input_format_values_allow_data_after_semicolon into the client base
Signed-off-by: Azat Khuzhin <[email protected]>
2023-10-16 22:31:55 +02:00
Azat Khuzhin 2cbb069b68 Add ability to ignore data after semicolon in Values format
This is required for client, to handle comments in multiquery mode.

v0: separate context for input format
v2: cannot use separate context since params and stuff are changed in global context
v3: do not sent this setting to the server (breaks queries for readonly profiles)
Signed-off-by: Azat Khuzhin <[email protected]>
2023-10-12 14:55:26 +02:00
Yong Wang 16f992a06e Kusto-phase2: remove fuzzing test from KQL 2023-10-10 23:50:58 -07:00
Yong Wang 8c9da6bacf Merge remote-tracking branch 'origin/master' into Kusto-phase2-oss-pr 2023-09-27 22:35:14 -07:00
Robert Schulze cde10fe7b5 Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-reenable-checks 2023-09-26 18:59:41 +00:00
0ce30ab6d5 SSH keys authentication (#41109)
Added new type of authentication based on SSH keys. It works only for Native TCP protocol.

Co-authored-by: Nikita Mikhaylov <[email protected]>
Co-authored-by: Robert Schulze <[email protected]>
2023-09-26 17:50:19 +02:00
Robert Schulze 9fff447716 Re-enable clang-tidy checks 2023-09-26 09:34:12 +00:00
Yong Wang c936c08835 Kusto-phase2: fix the CMakeList files 2023-09-25 13:43:01 -07:00
Robert Schulze 11fea581bc Fix tests 2023-09-04 15:34:42 +00:00
Yong Wang e5f968b0d8 Kusto-phase2: enabled fuzzing test for dialect prql 2023-08-26 07:40:40 -07:00
Yong Wang 1ec574057a Kusto-phase2: fixed some functional test 2023-08-26 07:40:40 -07:00
Larry LuoandYong Wang 4f02667861 Fix AST Fuzzer 2023-08-26 07:40:39 -07:00
Alexey Gerasimchuck 3140958132 Added client_info validation 2023-08-22 03:52:57 +00:00
Michael Kolupaev dfdf5de972 Fixes 2023-07-25 10:16:28 +00:00
Vitaly Baranov 815a3857de Remove non-const function Context::getClientInfo(). 2023-07-17 15:02:07 +02:00
Alexey GerasimchuckandGitHub 3218624461 Merge branch 'master' into ADQM-956 2023-07-04 11:47:24 +10:00
Sema Checherinda d4d85d9fe9 add explicit finalize calls 2023-06-26 16:03:47 +02:00
Alexey Gerasimchuck 25948cdd9e Added ASK_PASSWORD client constant 2023-06-19 03:57:38 +00:00
zvonand 4155d13d69 merge master and resolve conflict 2023-06-16 02:20:32 +02:00
zvonand e60506f41b changes requested in review 2023-06-16 02:16:04 +02:00
Alexey Gerasimchuck 75e6b4475d corrections after review 2023-06-14 22:35:38 +00:00
Alexey GerasimchuckandGitHub a6420ee338 Merge branch 'master' into ADQM-934 2023-06-15 08:25:24 +10:00
Alexey Gerasimchuck 1f76d08743 fixed --password "" --password issue 2023-06-14 02:24:45 +00:00
Alexey Gerasimchuck f1b5d47ce2 corrections after second review iteration 2023-06-14 01:26:39 +00:00
Alexey Gerasimchuck d0938e95e6 prohibited to use --connection 2023-06-09 06:40:57 +00:00
Alexey Gerasimchuck 7578203b46 Changes after review 2023-06-09 03:44:43 +00:00
Alexey Gerasimchuck 23a3026836 Implemented connection string 2023-06-07 03:16:29 +00:00
Andrey ZvonovandGitHub 2e427ee028 Merge branch 'master' into zvonand-implicit-tz 2023-06-02 01:15:56 +03:00
Andrey ZvonovandGitHub 87fc780c14 Merge branch 'master' into zvonand-implicit-tz 2023-05-30 13:13:46 +03:00
zvonand d4cec1f0e0 fix client thread attachment + make better tests 2023-05-30 01:30:01 +02:00
Alexey Gerasimchuck 8574559e23 Disallow usage of --query and --queries-file 2023-05-28 22:25:40 +00:00
Alexey Gerasimchuck ab5e16a713 Changes after second review iteration 2023-05-23 00:27:17 +00:00
Alexey Gerasimchuck 4a6c7254e8 --multiquery <sql> -> -n -q <sql> syntax sugar 2023-05-17 03:43:35 +00:00
Andrey ZvonovandGitHub 9237b904be Merge branch 'master' into zvonand-implicit-tz 2023-05-10 01:25:33 +02:00
Nikolay Degterinsky b7d8c99fbe Fix member call on null pointer in fuzzer 2023-05-09 13:12:11 +00:00
zvonand 8338d54c34 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-05-05 15:50:26 +02:00
Alexey MilovidovandGitHub 98ae9be734 Revert "Added tests for ClickHouse apps help and fixed help issues" 2023-04-21 01:54:34 +03:00
Andrey ZvonovandGitHub 984e8fde41 Merge branch 'master' into zvonand-implicit-tz 2023-04-20 23:13:17 +02:00
zvonand daae5025e8 small updates due to review 2023-04-19 14:45:51 +02:00
zvonand daef5d818a fix according to updates in ThreadStatus.h 2023-04-12 15:31:58 +02:00
zvonand 2a9f28b73b resolve 2023-04-12 12:54:39 +02:00
Yatsishin Ilya b5b65d2149 Merge remote-tracking branch 'origin' into clickhouse-help 2023-04-11 11:24:48 +00:00
Vasily Nemkov e36addb96a Hackish way of setting up timezone on the client
Warning: lots of debug logging
2023-04-11 13:03:03 +02:00
Nikolay Degterinsky 3b9e8a8630 Override user and password environment variables with client parameters 2023-04-05 19:40:43 +00:00
Yatsishin Ilya d4304d2028 Merge remote-tracking branch 'origin/master' into clickhouse-help 2023-03-02 16:16:18 +00:00
Nikolay DegterinskyandGitHub af992ca2db Better 2023-02-22 16:51:36 +01:00
Nikolay DegterinskyandGitHub cdbff57e6c Ask for password interactively 2023-02-22 15:58:06 +01:00
Yatsishin Ilya 80857638c1 Merge remote-tracking branch 'origin/master' into clickhouse-help 2023-02-22 13:58:17 +00:00
Azat Khuzhin 2dbcfdbe15 Allow to override host for client connection credentials
Introduce new `--connection` option, by default as a connection name
`--host` will be used.

And using --connection you also can specify --host and it will be
overwritten.

Follow-up for: #45715
Signed-off-by: Azat Khuzhin <[email protected]>
2023-02-16 14:26:24 +01:00