Alexander Kuzmenkov
2571dac984
Merge pull request #20111 from ClickHouse/aku/window-prototype
...
RANGE OFFSET window frame
2021-02-11 10:39:21 +03:00
alexey-milovidov
8553a65ef8
Merge pull request #20281 from ClickHouse/aku/fuzzer-changed-settings
...
print changed settings in fuzzer when the server dies
2021-02-11 03:26:01 +03:00
alexey-milovidov
76ccec2885
Fix XML
2021-02-10 16:39:59 +03:00
Alexander Kuzmenkov
87e5218c91
Update Client.cpp
2021-02-10 16:29:33 +03:00
Alexander Kuzmenkov
41a3cd978e
print changed settings in fuzzer when the server dies
2021-02-10 14:18:11 +03:00
filimonov
beb5912b4f
Add example of client configuration adjusemtents
2021-02-10 10:02:35 +01:00
alexey-milovidov
ed5a81ab59
Merge pull request #20078 from abyss7/better-read-buffers-4
...
LimitReadBuffer: check that position always advances
2021-02-07 07:33:08 +03:00
alesapin
011109c82a
Merge pull request #17348 from xjewer/alex/CLICKHOUSE-606_deduplication_UUID
...
CLICKHOUSE-606: query deduplication based on parts' UUID
2021-02-05 22:47:34 +03:00
Alexander Kuzmenkov
6824f13a35
tmp
2021-02-05 12:13:19 +03:00
Ivan Lezhankin
ee0ff755e2
Check that position always advances
2021-02-04 17:46:46 +03:00
Alexander Kuzmenkov
f31d2206a7
more fuzzing and less bugs
2021-02-03 15:50:25 +03:00
Alexander Kuzmenkov
bb45c5a8ff
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-03 12:13:23 +03:00
Alexander Kuzmenkov
a164abf23e
add frame fuzzing and one query that fails under msan
2021-02-03 09:42:54 +03:00
Aleksei Semiglazov
921518db0a
CLICKHOUSE-606: query deduplication based on parts' UUID
...
* add the query data deduplication excluding duplicated parts in MergeTree family engines.
query deduplication is based on parts' UUID which should be enabled first with merge_tree setting
assign_part_uuids=1
allow_experimental_query_deduplication setting is to enable part deduplication, default ot false.
data part UUID is a mechanism of giving a data part a unique identifier.
Having UUID and deduplication mechanism provides a potential of moving parts
between shards preserving data consistency on a read path:
duplicated UUIDs will cause root executor to retry query against on of the replica explicitly
asking to exclude encountered duplicated fingerprints during a distributed query execution.
NOTE: this implementation don't provide any knobs to lock part and hence its UUID. Any mutations/merge will
update part's UUID.
* add _part_uuid virtual column, allowing to use UUIDs in predicates.
Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
address comments
2021-02-02 16:53:39 +00:00
Alexey Milovidov
30e1db7f47
Merge branch 'master' into azat-client-complete-error-codes
2021-01-31 00:01:47 +03:00
alexey-milovidov
a9d9a8f3a9
Update Suggest.cpp
2021-01-30 01:21:51 +03:00
Azat Khuzhin
585874bf46
tests: add a test for clickhouse-client autocompletion
...
v2: Increase timeout for 01676_clickhouse_client_autocomplete
https://github.com/ClickHouse/ClickHouse/pull/19584#discussion_r565727175
v3: Disable 01676_clickhouse_client_autocomplete in unbundled build (arcadia)
autocomplete does not have to work fully unbundled build (since it lack
of replxx).
Similar to bd523a0aff
v4: set expect timeout back to 1 and increase total timeout to 20 sec
v4: set expect timeout back to 3 and increase total timeout to 22 (3*X+1) sec
2021-01-29 07:50:08 +03:00
Alexander Kuzmenkov
d72b302b97
Update Client.cpp
2021-01-28 23:16:35 +03:00
Azat Khuzhin
86f80105cb
client/suggest: add policy
2021-01-28 23:16:06 +03:00
Azat Khuzhin
212d5082b4
client/suggest: add macros
2021-01-28 23:16:06 +03:00
Azat Khuzhin
1c68bf8545
client/suggest: add other metrics
2021-01-28 23:16:06 +03:00
Azat Khuzhin
a2bab85b78
client/suggest: set system_events_show_zero_values for query
2021-01-28 23:16:06 +03:00
Azat Khuzhin
b57452446b
client/suggest: add error code names
2021-01-28 23:16:06 +03:00
Alexander Kuzmenkov
3f305cecc3
add empty line after error messages in client
2021-01-27 22:52:18 +03:00
Alexander Kuzmenkov
ccf332ea7e
Don't dwell on the past in query fuzzer
...
When we remember too many query fragments, just clean the database
and start collecting it anew. Hopefully this should make the fuzzer more
aggressive.
2021-01-22 20:15:31 +03:00
Alexander Kuzmenkov
2eba7413e1
remove extra newline
2021-01-22 02:42:24 +03:00
Alexander Kuzmenkov
eb7b87ee8d
update tests
2021-01-21 21:01:32 +03:00
Alexander Kuzmenkov
ec8ff21526
Reconnect after client errors
2021-01-21 17:28:46 +03:00
Alexander Kuzmenkov
4d16dead0f
Merge remote-tracking branch 'origin/master' into HEAD
2021-01-19 20:34:01 +03:00
Alexander Kuzmenkov
6fefc29f39
comment
2021-01-19 20:25:28 +03:00
Alexander Kuzmenkov
847a4e5d7c
Merge remote-tracking branch 'origin/master' into HEAD
2021-01-19 20:22:03 +03:00
Alexander Kuzmenkov
f5931a2289
Merge pull request #19236 from ClickHouse/aku/echo-leading
...
Make `-- { echo }` hint preserve leading comments
2021-01-19 20:20:58 +03:00
Alexander Kuzmenkov
1bd0c25bf0
Consolidate the test hint handling
...
Before it was handled in like five places with two of them disabled by a
flag and the others not disabled. Hard to navigate.
2021-01-19 01:40:30 +03:00
Alexander Kuzmenkov
b2547e99a0
whitespace
2021-01-18 15:18:29 +03:00
Alexander Kuzmenkov
c153268da7
Make -- { echo }
hint preserve leading comments.
2021-01-18 15:15:46 +03:00
Alexander Kuzmenkov
f3e112766f
cleanup
2021-01-18 12:49:56 +03:00
Alexey Milovidov
52a05f4b5d
Extreme fuzzing of newly added tests
2021-01-16 18:03:32 +03:00
Alexander Kuzmenkov
9d6730a846
small fixes
2021-01-16 00:33:53 +03:00
Alexander Kuzmenkov
765aa4d4e3
rewrote everything again
2021-01-15 23:30:44 +03:00
Alexander Kuzmenkov
c9628386fc
more fixes
2021-01-15 01:39:43 +03:00
Alexander Kuzmenkov
4c2c083387
strip leading whitespace
2021-01-15 00:27:36 +03:00
Alexander Kuzmenkov
1abb554d2b
test fixes
2021-01-14 23:47:52 +03:00
Alexander Kuzmenkov
d53da04e6f
without debug
2021-01-14 18:38:27 +03:00
Alexander Kuzmenkov
8be081e3c0
with debug
2021-01-14 18:35:52 +03:00
Alexander Kuzmenkov
48509a85d3
comment woes
2021-01-14 01:04:19 +03:00
Alexander Kuzmenkov
703731c547
something works
2021-01-13 22:29:52 +03:00
Alexey Milovidov
32f10c38d9
Query Fuzzer: return fail fast semantics
2021-01-09 08:30:23 +03:00
Alexey Milovidov
aff4ba7726
Slightly better
2021-01-06 04:03:07 +03:00
Alexey Milovidov
8d34f76d76
Slightly better
2021-01-06 03:58:31 +03:00
Alexey Milovidov
895ec0976b
Break query fuzzer even more
2021-01-06 00:34:08 +03:00