Commit Graph
260 Commits
Author SHA1 Message Date
Alexey Milovidov 2ab97bd621 Improve usability when user forgot password #27750 2021-08-20 11:08:21 +03:00
Artur 3591c3c8f4 correct code according to comments 2021-08-16 13:28:39 +00:00
Artur 9ba9d39d42 correct style 2021-08-14 11:15:32 +00:00
Artur 49e211bead add from infile syntax 2021-08-13 16:30:28 +00:00
Maksim KitaandGitHub 87fb75b272 Merge pull request #27191 from FArthur-cmd/memory-tracker-26043
Client with flag for memory tracker
2021-08-10 14:01:02 +03:00
Filatenkov ArturandGitHub 0db028bb49 Update Client.cpp 2021-08-10 12:00:55 +03:00
Filatenkov ArturandGitHub 3545f2a4ee Update Client.cpp 2021-08-10 11:59:11 +03:00
Alexander KuzmenkovandGitHub 9f0b5a5937 Merge pull request #27222 from ClickHouse/aku/fuzzer-reconnect
more careful handling of reconnects in fuzzer
2021-08-06 17:14:16 +03:00
Artur d2869d2e2b add test for memory tracker in client 2021-08-05 16:20:24 +00:00
Alexander Kuzmenkov 04da62707e more careful handling of reconnects in fuzzer 2021-08-05 14:34:13 +03:00
Artur a59d9e4620 Client with flag for memory tracker 2021-08-04 16:56:15 +00:00
Artur a9513f3587 add compression for INTO OUTFILE 2021-08-03 11:54:37 +00:00
Maksim KitaandGitHub f6f8bea689 Merge pull request #26671 from kitaisreal/mysql-dictionaries-support-for-custom-query
Lexer introduce heredoc
2021-07-23 16:20:54 +03:00
Nikolai Kochetov 3ed3f7a9f7 Fix integration tests. 2021-07-22 13:38:22 +03:00
Nikolai Kochetov f38de35b14 Rename some constants. 2021-07-21 19:13:17 +03:00
Maksim Kita 49983883cc Added tests 2021-07-21 16:41:45 +03:00
Nikolai Kochetov 2c90928bc4 Fix tests. 2021-07-21 12:52:28 +03:00
Maksim Kita 63f67f7997 Introduced HereDoc token 2021-07-21 11:59:05 +03:00
Nikolai Kochetov 179ec05a72 Remove some streams. 2021-07-20 21:18:43 +03:00
Alexey Milovidov 2c3c329514 Fix issue in #26282 2021-07-20 03:15:06 +03:00
Alexey Milovidov e87a4cfbda Whitespace 2021-07-17 02:29:57 +03:00
alexey-milovidovandGitHub 38dfe1fc0a Merge pull request #26172 from ClickHouse/exception_id
Add error id to exceptions
2021-07-17 02:07:17 +03:00
Artur c0a34e2842 Adding interactive test for warning messages during connection 2021-07-15 12:53:11 +00:00
Artur 5582c4736e correct code-style 2021-07-13 18:05:16 +00:00
Artur 3b61682265 add new config to skip warnings 2021-07-13 17:50:48 +00:00
Artur ffb0c832bc correct type mistake 2021-07-13 13:35:08 +00:00
Artur ed9d3be1cc Add ignoring exception for system.warnings, while connecting 2021-07-13 12:39:49 +00:00
Artur d377c069cb Adding printing warnings when client connect to server 2021-07-13 12:20:28 +00:00
Artur 1fe4f084f3 Merge branch 'adding-system-warnings-26039' of https://github.com/FArthur-cmd/ClickHouse into adding-system-warnings-26039 2021-07-13 11:14:14 +00:00
Artur d0b69c08ac show warnings to client, when it is connected 2021-07-13 11:13:42 +00:00
VladimirandGitHub 3157a46596 Fix special build, minor fix in Client.cpp 2021-07-10 13:28:44 +03:00
Alexey Milovidov c63237f8e4 Merge branch 'master' into exception_id 2021-07-10 11:14:46 +03:00
Alexey Milovidov 1f91c65aca Add error id to exceptions 2021-07-10 05:43:53 +03:00
Anton Popov 3588c5ad17 add color for double colon 2021-07-09 23:32:14 +03:00
Azat Khuzhin 170301c531 Ignore TOO_DEEP_RECURSION server exception during fuzzing 2021-06-28 10:37:49 +03:00
Azat Khuzhin 7739fcc295 clickhouse-client: fix NULL dereference for --param w/o value 2021-06-24 00:08:18 +03:00
kssenii e0f330331b Fix exception 2021-06-22 19:15:34 +03:00
alexey-milovidovandGitHub 7cd86086c2 Merge pull request #25521 from azat/fuzzer-catch-TOO_DEEP_RECURSION
Catch TOO_DEEP_RECURSION in fuzzer for formatted query too
2021-06-21 02:03:55 +03:00
Azat Khuzhin fa29fe6ba9 Catch TOO_DEEP_RECURSION for formatted query too 2021-06-21 00:39:59 +03:00
Anton PopovandGitHub d8b6f15ef4 Merge pull request #23027 from azat/distributed-push-down-limit
Add ability to push down LIMIT for distributed queries
2021-06-20 23:08:50 +03:00
Azat Khuzhin 2bc9664b52 Catch "Maximum parse depth" error in fuzzer
This exception should not fail the fuzzer check like here [1].

  [1]: https://clickhouse-test-reports.s3.yandex.net/25494/c6339b4c08ad8f50bf34831367de9a1ea90b1e09/fuzzer_msan/report.html#fail1
2021-06-19 21:34:37 +03:00
kssenii bdc8fe1ca0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into progress-bar 2021-06-18 09:33:29 +03:00
alexey-milovidovandGitHub 43cee9018e Merge pull request #25281 from ClickHouse/client-update-prompt-on-reconnect
Update prompt in client when reconnecting
2021-06-17 01:40:08 +03:00
Maksim KitaandMaksim Kita 67e9b85951 Merge ext into common 2021-06-16 23:28:41 +03:00
Alexey Milovidov e3653e70da Update prompt in client when reconnecting 2021-06-15 04:43:35 +03:00
mergify[bot]andGitHub 9cfedd9c64 Merge branch 'master' into progress-bar 2021-06-12 01:15:23 +00:00
alexey-milovidovandGitHub 3792d20061 Merge pull request #24863 from azat/echo-hint
clickhouse-client: echo hint improvements
2021-06-12 03:23:54 +03:00
Azat Khuzhin 18e8f0eb5e Add ability to push down LIMIT for distributed queries
This way the remote nodes will not need to send all the rows, so this
will decrease network io and also this will make queries w/
optimize_aggregation_in_order=1/LIMIT X and w/o ORDER BY faster since it
initiator will not need to read all the rows, only first X (but note
that for this you need to your data to be sharded correctly or you may
get inaccurate results).

Note, that having lots of processing stages will increase the complexity
of interpreter (it is already not that clean and simple right now).

Although using separate QueryProcessingStage looks pretty natural.

Another option is to make WithMergeableStateAfterAggregation always, but
in this case you will not be able to disable only this optimization,
i.e. if there will be some issue with it.

v2: fix OFFSET
v3: convert 01814_distributed_push_down_limit test to .sh and add retries
v4: add test with OFFSET
v5: add new query stage into the bash completion
v6/tests: use LIMIT O,L syntax over LIMIT L OFFSET O since it is broken in ANTLR parser
          https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_(antlr_debug).html#fail1
v7/tests: set use_hedged_requests to 0, to avoid excessive log entries on retries
          https://clickhouse-test-reports.s3.yandex.net/23027/a18a06399b7aeacba7c50b5d1e981ada5df19745/functional_stateless_tests_flaky_check_(address).html#fail1
2021-06-09 02:29:50 +03:00
Alexander Kuzmenkov ae79bbea7d Merge remote-tracking branch 'origin/master' into HEAD 2021-06-02 15:06:22 +03:00
Alexander Kuzmenkov 78fe7891b4 better messages in fuzzer status 2021-06-02 15:06:12 +03:00