Robert Schulze
c17536c3b3
Enable clang-tidy in headers
2024-03-18 08:00:09 +00:00
Alexey Milovidov
2eb7de859d
Correct arguments parsing
2024-03-18 02:35:32 +01:00
Alexey Milovidov
1a61da1bae
Replace getFuzzerData with query text fuzzer in clickhouse-local
2024-03-18 02:17:24 +01:00
Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
avogar
2e9130ca1e
Better
2024-03-15 20:30:44 +00:00
avogar
aadfc37dda
Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks
2024-03-15 20:27:16 +00:00
avogar
fa9d9ea3f7
Ignore DROP queries in stress test with 1/2 probability, use TRUNCATE instead of ignoring DROP in upgrade check for Memory/JOIN tables
2024-03-15 20:23:39 +00:00
Raúl Marín
b21a5fec7b
Fix broken list and thank clang tidy
2024-03-14 15:06:08 +01:00
Raúl Marín
617138cf48
Teach the fuzzer to use other numeric types
2024-03-13 16:54:28 +01:00
avogar
a065231ca1
Remove unused error code
2024-03-12 12:07:36 +00:00
avogar
dd6599868a
Better check for 0 setting value
2024-03-12 12:06:25 +00:00
Kruglov Pavel
5608005b34
Revert "Revert "Don't allow to set max_parallel_replicas to 0 as it doesn't make sense""
2024-03-11 21:22:45 +01:00
Kruglov Pavel
a90a6e9a27
Revert "Don't allow to set max_parallel_replicas to 0 as it doesn't make sense"
2024-03-11 21:05:44 +01:00
Kruglov Pavel
1c1336bdc0
Merge pull request #60430 from Avogar/max-parallel-replicas-validate
...
Don't allow to set max_parallel_replicas to 0 as it doesn't make sense
2024-03-11 18:04:54 +01:00
Sema Checherinda
80179e50e4
Merge pull request #58845 from ClickHouse/chesema-session-pool
...
HTTP connections pool
2024-03-10 14:06:59 +01:00
Sema Checherinda
4df406d3ad
work with review notes
2024-03-10 10:00:18 +01:00
Sema Checherinda
5c41727725
http connections pools
2024-03-10 10:00:18 +01:00
tomershafir
453eb25984
rm trailing whitespace
2024-03-10 08:42:54 +02:00
tomershafir
4af16043b8
improve randomness by erase buf elem when full
2024-03-09 21:27:28 +02:00
tomershafir
46332f334c
rm unused alias set/vector pair
2024-03-08 15:17:07 +02:00
Sema Checherinda
62f9a00da8
shuffle resolved IPs
2024-03-07 13:09:26 +01:00
avogar
595c75ec53
Merge branch 'master' of github.com:ClickHouse/ClickHouse into max-parallel-replicas-validate
2024-03-05 11:19:04 +00:00
Robert Schulze
4ee1aa8c7c
Fixing more headers
2024-02-29 15:40:30 +00:00
Alexey Milovidov
e1e66dc2b8
Merge pull request #60095 from ClickHouse/fix-inconsistent-formatting
...
Fix inconsistent formatting of queries
2024-02-29 00:41:40 +03:00
Alexey Milovidov
d93d5c2a00
Merge pull request #60470 from ClickHouse/ClibMouse-bugfix/kql-distributed-tables
...
Merging #59674 .
2024-02-28 19:24:14 +03:00
Alexey Milovidov
acbcffea13
Fix error
2024-02-27 23:33:16 +01:00
Kruglov Pavel
58a53b42ac
Set max_entries to min(max_parallel_replicas, all available reolicas)
2024-02-27 14:31:35 +01:00
Alexey Milovidov
0b90076a36
Revert "Revert "Check stack size in Parser""
2024-02-27 01:34:50 +03:00
Kruglov Pavel
f264f0a036
Fix style
2024-02-26 22:06:10 +01:00
Kruglov Pavel
8aa9f36484
Fix style
2024-02-26 22:05:54 +01:00
avogar
ac4af6a4ad
Don't allow to set max_parallel_replicas to 0 as it doesn't make sense
2024-02-26 19:58:49 +00:00
Alexey Milovidov
6c6376de0a
Fix compatibility
2024-02-26 12:58:02 -05:00
Alexey Milovidov
3613464d46
Fix the code
2024-02-26 12:58:02 -05:00
Austin Kothig
f5ba7fde9f
Only set dialect if KQL or PRQL.
2024-02-26 12:58:01 -05:00
kothiga
70248639e8
Include PRQL. Added functional test that tests both KQL and PRQL.
2024-02-26 12:58:01 -05:00
kothiga
90a18326a5
Fix KQL distributed tables queries.
2024-02-26 12:58:01 -05:00
Alexey Milovidov
979cd2937b
Fix inconsistent formatting of SET param_...
2024-02-26 02:11:51 +01:00
Igor Nikonov
a0105e94ba
Merge pull request #60077 from ClickHouse/cleanup-connection-pool-priority
...
Cleanup: less confusion between config priority and balancing priority in connection pools
2024-02-21 15:22:08 +01:00
Igor Nikonov
0ead912127
Merge pull request #60158 from ClickHouse/fix-slowdown-count-side-effect
...
Fix: custom key failover test flakiness
2024-02-21 12:55:46 +01:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser"
2024-02-21 11:33:08 +01:00
Igor Nikonov
a8e4627663
Fix: can't guarantee query distribution with enabled hedged requests
2024-02-20 12:09:54 +00:00
Igor Nikonov
bb5a6dd8d3
Fix: custom key failover test flakyness
...
slowdown_count used only by hedge connections
but it's stored inside connection pool and was used for pool shuffling
always. So, query execution which used hedged connections could affect
connection load balancing for queries w/o hedged connections by updating
slowdown_count
2024-02-19 20:44:55 +00:00
Igor Nikonov
f06e15ce5f
Merge remote-tracking branch 'origin/master' into cleanup-connection-pool-priority
2024-02-19 11:33:55 +00:00
Alexey Milovidov
ad26b6fc8d
Remove useless headers
2024-02-19 07:08:24 +01:00
Alexey Milovidov
6fd563df52
Miscellaneous
2024-02-19 02:58:51 +01:00
Alexey Milovidov
73ab7a5556
Merge branch 'master' of github.com:ClickHouse/ClickHouse into implement-todo
2024-02-18 09:24:22 +01:00
Alexey Milovidov
d10b18afeb
I found TODO in the code, that can be implemented
2024-02-17 02:21:55 +01:00
Alexey Milovidov
2f315e0eb5
Style check for abbreviations
2024-02-17 02:14:15 +01:00
Igor Nikonov
b85a68790a
Cleanup: connection pool priority -> config priority
...
- names were creating confusion between config priority and balancing priority for a reader
2024-02-16 14:39:41 +00:00
Kruglov Pavel
1dbfeafb42
Merge branch 'master' into auto-format-detection
2024-02-13 19:08:33 +01:00
Igor Nikonov
3fb30a23d9
Merge remote-tracking branch 'origin/master' into pr-better-replicas-failover-2
2024-02-08 09:09:11 +00:00
Igor Nikonov
10082399d5
Minor review fixes
2024-02-07 00:52:25 +00:00
Igor Nikonov
b9848dbd2c
Remove unused is_finished
2024-02-06 14:30:19 +00:00
Igor Nikonov
576cfdbf5c
Includes cleanup
2024-02-05 14:27:07 +00:00
Raúl Marín
08c1799f9c
Merge pull request #59383 from Algunenano/fuzz_literal
...
Add some fuzzing to ASTLiterals
2024-02-05 12:27:43 +01:00
Igor Nikonov
7123a27f30
Merge pull request #59380 from ClickHouse/cleanup-connection-pool-surroundings
...
Cleanup connection pool surroundings
2024-02-04 22:34:07 +01:00
Igor Nikonov
c7499b7395
Use ConnectionPoolPtr instead of raw pointer
2024-02-02 18:43:09 +00:00
Raúl Marín
7be91e66dd
Add reverse step
2024-02-02 18:11:56 +01:00
Igor Nikonov
c93a2cd2dd
Remove unused header
2024-02-01 17:31:14 +00:00
Igor Nikonov
03249f3efa
Fixes & comments
...
staleness -> delay (double -> UInt32)
2024-02-01 12:24:24 +00:00
Raúl Marín
4b5e992565
Fix problems
2024-01-30 19:34:01 +01:00
Raúl Marín
299c390d2b
Add some fuzzing to ASTLiterals
2024-01-30 19:34:01 +01:00
avogar
377937d415
Merge branch 'master' of github.com:ClickHouse/ClickHouse into auto-format-detection
2024-01-29 15:45:18 +00:00
Alexey Milovidov
a7483ec10b
Merge pull request #59242 from rschu1ze/dont-force-libssh-on-me
...
Make libssh build dependent on `-DENABLE_LIBRARIES`
2024-01-29 00:02:03 +01:00
Robert Schulze
caeb31940c
Allow to build without libssl
2024-01-25 21:14:03 +00:00
Kruglov Pavel
46a6b84a5a
Merge branch 'master' into auto-format-detection
2024-01-25 22:11:07 +01:00
Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
avogar
1bff525666
Fix tests and docs
2024-01-23 18:59:40 +00:00
avogar
617cc514b7
Try to detect file format automatically during schema inference if it's unknown
2024-01-23 18:59:39 +00:00
Alexander Tokmakov
2f1d4f094b
Add a parameter for testing purposes ( #59027 )
...
* Update ConnectionParameters.cpp
* Update ConnectionParameters.cpp
* Update ConnectionParameters.cpp
2024-01-22 15:48:44 +01:00
Sema Checherinda
9adab57771
Correct initialization of ConnectionTimeouts ( #59000 )
2024-01-22 12:03:36 +01:00
Igor Nikonov
131f71b50a
Revert "Revert flaky"
2024-01-19 13:51:30 +01:00
Raúl Marín
477489a05d
Revert "Merge pull request #57235 from ClickHouse/pr-custom-key-failover"
...
This reverts commit 8ba9b4a7ef
, reversing
changes made to 0f39245cb8
.
2024-01-19 12:46:05 +00:00
Igor Nikonov
8d4a395afa
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
2024-01-10 20:28:04 +00:00
Igor Nikonov
e9fc869254
Fix test flakiness with hedge connections enabled
2024-01-10 15:59:48 +00:00
Robert Schulze
ced9e93ac6
Merge remote-tracking branch 'rschu1ze/master' into qatzstd_main
2024-01-09 20:36:02 +00:00
Alexey Milovidov
2c61015578
Do not load database engines in suggest
2024-01-07 23:06:36 +01:00
Robert Schulze
53965bb9f1
Merge remote-tracking branch 'rschu1ze/master' into qatzstd_main
2024-01-07 14:11:22 +00:00
Bharat Nallan Chakravarthy
3e8439a78b
add to context access and suggest
2023-12-30 20:38:35 -08:00
Igor Nikonov
4fe54c213b
Fix: round-robin load balancing for custom key queries
...
+ even subqueries distribution over available nodes for custom key query
+ creating load balancing instance for each custom key query separately
2023-12-27 15:06:41 +00:00
Igor Nikonov
bee15325fc
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
2023-12-26 21:56:46 +00:00
Azat Khuzhin
3be3b0a280
Fix incorrect Exceptions
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-24 21:26:32 +01:00
jinjunzh
aaf98f0ed7
refine setting with enable_zstd_qat_codec
2023-12-22 14:24:15 -05:00
Igor Nikonov
db87ea0b86
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
2023-12-20 20:48:51 +00:00
Yarik Briukhovetskyi
6e816d45ae
Merge branch 'master' into paste_join
2023-12-19 20:02:24 +01:00
yariks5s
4e418a89d9
fixed suggestions
2023-12-19 19:00:37 +00:00
Raúl Marín
b269f87f4c
Better text_log with ErrnoException
2023-12-15 19:27:56 +01:00
Igor Nikonov
f7e6a17052
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
2023-12-10 20:21:47 +00:00
Igor Nikonov
87e47bdbee
Merge pull request #57467 from ClickHouse/rm-select
...
Remove select() usage
2023-12-09 22:27:28 +01:00
Igor Nikonov
94fb23af0b
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
2023-12-07 11:52:40 +00:00
Azat Khuzhin
477b782f86
Handle editor exit code correctly
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-06 20:21:15 +01:00
Azat Khuzhin
028c01c458
Do not abort the client if temporary file for query editor cannot be created
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-06 20:21:15 +01:00
Igor Nikonov
60ba1abc17
Fix build
2023-12-05 12:58:29 +00:00
Igor Nikonov
71204c2a82
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
2023-12-05 12:00:45 +00:00
Igor Nikonov
b3d3887f2c
Fix test
2023-12-05 11:58:25 +00:00
Igor Nikonov
73ff984755
Remove select() usage
2023-12-04 09:33:34 +00:00
Azat Khuzhin
699d11628a
Fix adjusting log_comment in case of multiple files passed
...
Previously, due to adjusting global_context and checking it as well, in
case of multiple files the log_comment will be adjusted only the first
time. Fix this by caching does user passed the log_comment explicitly or
not.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-04 10:02:24 +01:00
Raúl Marín
46acd8736c
Merge pull request #57189 from Algunenano/fix_respect_nulls
...
Fix RESPECT NULLS
2023-11-30 20:21:42 +01:00
Igor Nikonov
b4bf611d5d
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
2023-11-30 14:09:26 +00:00
Raúl Marín
9432061652
Add RESPECT/IGNORE NULLS to the fuzzer
2023-11-29 12:41:15 +01:00