Commit Graph

147009 Commits

Author SHA1 Message Date
Azat Khuzhin
61e50a346a Use peak_threads_usage instead of arrayUniq(thread_ids) in tests
Should fix flakiness like [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/66098/93afc8e6133365007488c4d8340f434f6e8a876f/stateless_tests__aarch64_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-09 16:13:06 +02:00
Vitaly Baranov
32b9f7940f
Merge pull request #66191 from vitlibar/grpc-avoid-using-harmful-function-rand
Avoid using harmful function rand() in grpc
2024-07-09 13:42:20 +00:00
Max K
830653b1f6 CI: do not finalize CI running status unless all success 2024-07-09 15:40:44 +02:00
Alexander Tokmakov
9b41fd0cf0 Merge branch 'master' into tavplubix-patch-10 2024-07-09 15:35:34 +02:00
Anton Popov
597a72fd9a
Merge pull request #65840 from gabrielmcg44/fix-tie-handling-issue
[arrayAUC] Fix tie handling issue
2024-07-09 13:32:14 +00:00
János Benjamin Antal
61f827b569
Update src/Databases/DatabaseAtomic.cpp 2024-07-09 15:26:33 +02:00
Kruglov Pavel
6baa52d101
Fix null insertion into dynamic column 2024-07-09 14:01:28 +02:00
Nikolai Kochetov
0174a43d17 Fixing Not-ready set in constraint. 2024-07-09 11:54:21 +00:00
Alexander Tokmakov
6c817fdc17
Merge pull request #66218 from ClickHouse/fix_none_only_active
Don't throw TIMEOUT_EXCEEDED for none_only_active
2024-07-09 11:32:15 +00:00
Dmitry Novik
eeac41fa45 Add a documentation 2024-07-09 13:15:50 +02:00
Dmitry Novik
58eb57dffb Add settings to control connection to PostgreSQL 2024-07-09 13:15:50 +02:00
Nikita Taranov
c3c5778384
Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-07-09 13:14:39 +02:00
Vitaly Baranov
34516c1b3a
Merge pull request #54881 from amosbird/named-tuple
Extend function tuple to return named tuple and add function tupleNames
2024-07-09 11:10:21 +00:00
Nikolai Kochetov
ad798196e9
Merge pull request #65919 from kitaisreal/postgresql-source-cancel-query-comments
PostgreSQL source cancel query comments
2024-07-09 11:07:33 +00:00
vdimir
306cc02af6
Merge branch 'master' into vdimir/join_on_null_fix 2024-07-09 12:56:50 +02:00
Sema Checherinda
186e690fa6
Merge pull request #66230 from ClickHouse/chesema-peak-threads-usage
fix peak_threads_usage
2024-07-09 10:32:30 +00:00
Kruglov Pavel
f3bfe8d881
Merge branch 'master' into data-types-binary-encoding 2024-07-09 12:27:06 +02:00
Kruglov Pavel
b4dd700c26
Fix typos 2024-07-09 12:26:39 +02:00
Robert Schulze
2fc4247d62
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-09 10:25:48 +00:00
Anton Popov
e29635da27
Merge pull request #64607 from CurtizJ/buffer-read-in-order
Use buffering while reading in order in queries with `WHERE`
2024-07-09 10:14:52 +00:00
Anton Popov
fd7dfc596e
Merge pull request #66248 from ClickHouse/CurtizJ-patch-8
Fix test `00504_mergetree_arrays_rw.sql`
2024-07-09 10:01:28 +00:00
Kruglov Pavel
9153e65456
Remove unneded include 2024-07-09 10:15:41 +02:00
Kruglov Pavel
aaf5412c71
Merge pull request #66025 from KevinyhZou/support_orc_reader_timezone
Support ORC file read by writer time zone
2024-07-09 08:00:20 +00:00
Kruglov Pavel
52b3d1a244
Merge pull request #66130 from slvrtrn/update-avro-submodule-with-array-block-size-fix
Update AVRO submodule with the array block size fix
2024-07-09 07:58:04 +00:00
Kruglov Pavel
329f9b5d8e
Merge pull request #54649 from bakwc/materializedmysql_null_segfault
Fixed crash in MaterializedMySQL while using override + null field
2024-07-09 07:55:28 +00:00
gun9nir
08baf13f33 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dir-path-wildcard 2024-07-08 19:47:20 -07:00
nauu
595a12ee88 to avoid ambiguity, replace FilesystemCacheFailToReserveSpaceBecauseOfLockContention with FilesystemCacheFailToReserveSpaceBecauseOfCacheResize.
to avoid ambiguity, replace FilesystemCacheFailToReserveSpaceBecauseOfLockContention with FilesystemCacheResize.
2024-07-09 10:07:20 +08:00
gun9nir
05fe5c9f2c truncate file in insert 2024-07-08 19:04:08 -07:00
Anton Popov
a072cd28e4 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-08 23:26:19 +00:00
Anton Popov
708c81f6e2
Update 00504_mergetree_arrays_rw.sql 2024-07-09 01:20:31 +02:00
Anton Popov
fca47bbd01
Merge pull request #66101 from CurtizJ/add-test-for-58998
Add a test for #58998
2024-07-08 22:56:12 +00:00
Alexander Tokmakov
be343c7ddd don't throw TIMEOUT_EXCEEDED for none_only_active 2024-07-09 00:31:31 +02:00
Nikita Taranov
2c3a8e21fe
Merge pull request #66138 from ClickHouse/fix_smt_sink
Finalize MergedBlockOutputStream in dtor
2024-07-08 22:26:16 +00:00
Nikita Taranov
a9546fe551
Merge pull request #66147 from ClickHouse/fix_mac_build
Playing minesweeper with build system
2024-07-08 22:05:17 +00:00
Robert Schulze
429eed31f1
Merge pull request #66185 from rschu1ze/faster_regexp
Speed up `replaceRegexp(All|One)` if the pattern is trivial
2024-07-08 21:15:01 +00:00
Robert Schulze
ef0fa20de3
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-08 21:10:06 +00:00
Vitaly Baranov
6d0bf97476
Merge pull request #66067 from vitlibar/move-http-handler-stuff-to-separate-files
Move some of HTTPHandler stuff to separate source files in order to reuse it in PrometheusRequestHandler
2024-07-08 21:03:22 +00:00
Robert Schulze
db1817a633
Some minor fixups 2024-07-08 20:04:45 +00:00
Robert Schulze
d5e3aa8344
Merge remote-tracking branch 'rschu1ze/master' into bump-rocksdb2 2024-07-08 20:01:01 +00:00
Anton Popov
9c071fc0df slightly better 2024-07-08 19:28:17 +00:00
Sema Checherinda
5b9c74b4b8 fix tests, lesser logs 2024-07-08 21:13:30 +02:00
Raúl Marín
9e9862066f
Merge pull request #66229 from den-crane/patch-70
Update settings.md / note about max_query_size and query settings
2024-07-08 19:09:14 +00:00
Robert Schulze
c10cf0e332
Merge pull request #66166 from Blargian/docs_initcap
[Docs] add `initCap` examples
2024-07-08 18:13:00 +00:00
Anton Popov
204f2e1381 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-08 17:51:30 +00:00
Robert Schulze
a6c1477ece
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-08 17:50:30 +00:00
gun9nir
fb4fb2ca5e add docs 2024-07-08 10:39:35 -07:00
gun9nir
8a352fdd30 add no-parallel tag on the test 2024-07-08 10:28:24 -07:00
Nikita Taranov
1e48831d76 better 2024-07-08 18:21:06 +01:00
Azat Khuzhin
8550e64352 Fix type of input_wait_elapsed_us/input_wait_elapsed_us/elapsed_us (was UInt32)
Even though type in the system.processors_profile_log is UInt64,
intermediate type was UInt32 (sigh).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-08 19:08:14 +02:00
Azat Khuzhin
bb4115b4e6 Reduce inaccuracy of input_wait_elapsed_us/input_wait_elapsed_us/elapsed_us
By collecting them with nanoseconds precision, and only store them in
system.processors_profile_log in microseconds.

This should fix 02210_processors_profile_log test failures like this one [1]:

    ExpressionTransform	999989	1	1	1	1

When the total elapsed_us is less then 1 second.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/65920/ce417c78be566d8a616df3544e2801b845277f44/stateless_tests__release__old_analyzer__s3__databasereplicated__[1_4].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-08 19:08:07 +02:00