Commit Graph

124240 Commits

Author SHA1 Message Date
Denny Crane
b239d409b1
Update query-complexity.md 2023-09-08 13:28:09 -03:00
robot-clickhouse-ci-1
72f7134fa3
Merge pull request #54448 from den-crane/patch-57
Doc. HTTP response codes caveats
2023-09-08 18:01:22 +02:00
Denny Crane
ee608d7c81
Update http.md 2023-09-08 12:32:31 -03:00
robot-ch-test-poll4
839f69c940
Merge pull request #53765 from vitlibar/sync-uuids-of-tables-on-replicas
Sync UUIDs of tables on replicas after RESTORE
2023-09-08 17:30:32 +02:00
Yakov Olkhovskiy
ed8d2da31f
Merge pull request #54333 from arenadata/ADQM-1156
Fixed wrong dereference problem in Context::setTemporaryStorageInCache
2023-09-08 09:27:42 -04:00
Vitaly Baranov
2643e48310
Remove unused code 2023-09-08 13:23:59 +02:00
Nikolai Kochetov
0095124791
Merge pull request #48607 from alexX512/master
Add settings for real-time updates during query execution
2023-09-08 09:05:33 +02:00
János Benjamin Antal
5862c4ec93
Use not the absolute latest docker image tag (#54369)
* Add params for select queries in clickhouse_helper.py

* Find the latest image tags from master

* Get full git history

* Do not checkout submodules

* Automatic style fix

* Fix style errors

* Make logging pretty

* Revert accidentally committed changes

* Eliminate pformat

* Update all workflows

* Remove flag with default value

* Improve exception handling

* Utilizing the loop condition in while loop

* Make the logic robust over temporary errors

* Prettify logs

* Automatic style fix

* Add accidentally removed line

* Revert "Make the logic robust over temporary errors"

This reverts commit 91e6b5d7ba.

* Do not fail in case the tag cannot be queried from ClickHouse

* Support partial finding of tags

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-09-08 08:42:56 +02:00
robot-clickhouse-ci-2
8b35f0ebe1
Merge pull request #54431 from lsamaciel/patch-1
Fixed detectLanguage mixed example
2023-09-08 05:59:40 +02:00
Leonardo Maciel
0b396ee7b4
Fixed detectLanguage mixed example 2023-09-07 22:27:22 -03:00
robot-ch-test-poll3
d891a7cad0
Merge pull request #54408 from ClickHouse/fix-deadlock-in-attach-thread
Fix failed assert in attach thread during startup retries
2023-09-07 22:58:52 +02:00
Robert Schulze
7fef4c8cb6
Merge pull request #53680 from yariks5s/todatatime-non-const-data
Support non-constant timezone arguments in toString() and formatDateTime()
2023-09-07 22:11:17 +02:00
Justin de Guzman
a0d25fdd54
Merge pull request #54255 from cclauss/patch-1
Fix typo
2023-09-07 13:05:27 -07:00
Justin de Guzman
439531cde9
Merge pull request #54394 from fermelone/patch-2
Update sampling-query-profiler.md
2023-09-07 13:04:18 -07:00
Robert Schulze
bff06d18aa
Merge pull request #54249 from rschu1ze/multiple_query_arguments
Allow multiple `--query` parameters in clickhouse-client/local.
2023-09-07 21:20:07 +02:00
Kseniia Sumarokova
2d6503dd7f
Update README.md 2023-09-07 18:10:27 +02:00
Nikolay Degterinsky
3b43667397
Merge pull request #54330 from HarryLeeIBM/hlee-s390x-read-float
Fix precise float parsing issue on s390x
2023-09-07 17:51:40 +02:00
Antonio Andelic
fae0e13baa Properly remove added interserver endpoint 2023-09-07 14:34:36 +00:00
Antonio Andelic
cf33674738
Merge pull request #54385 from ClickHouse/fix-overflow-in-anova
Check for overflow before addition in `analysisOfVariance` function
2023-09-07 16:15:44 +02:00
robot-ch-test-poll2
f28ad1e136
Merge pull request #54368 from ClickHouse/fix_replacing_final_error
Fix logical error in vertical merge + replacing merge tree + optimize cleanup
2023-09-07 15:45:43 +02:00
robot-clickhouse
fd4ddc49f2
Merge pull request #54332 from rschu1ze/consolidate-tests-53149
Consolidate GCD codec tests (Follow up to #53149)
2023-09-07 15:29:22 +02:00
yariks5s
5afca8a903 optimized toString() 2023-09-07 12:41:01 +00:00
Robert Schulze
fc105aa442
Fix another test 2023-09-07 10:59:19 +00:00
Igor Nikonov
ce8e72e464
Merge pull request #54377 from ClickHouse/pr-distributed-tests-disable-plr
Disable prefer_localhost_replica in test for parallel replicas
2023-09-07 11:59:42 +02:00
Fern
25c06c9764
Update sampling-query-profiler.md
Adding a note to clarify that the sample query provided, in CH Cloud, might return empty information as it cycles through nodes of the cluster. You need to add clusterAllReplicas.
2023-09-07 10:47:42 +01:00
Alexander Sapin
05446d8377 Rename test 2023-09-07 11:46:28 +02:00
Antonio Andelic
c795b9c32f Check for overflow before addition in anova function 2023-09-07 07:54:06 +00:00
Alexey Milovidov
d072100a00
Merge pull request #54375 from ClibMouse/ppc_abi_fix
Use abiv2 when generating OpenSSL .s files for powerpc64le
2023-09-07 10:17:22 +03:00
Igor Nikonov
2c85c28113 Cleanup 2023-09-07 07:15:42 +00:00
Alexey Milovidov
1b30f91e7a
Merge pull request #51304 from ClickHouse/alter-table-add-comment
Add support for ALTER TABLE MODIFY COMMENT
2023-09-07 07:30:57 +03:00
Alexey Milovidov
ce8ab5c9dd
Update comment.md 2023-09-07 07:30:46 +03:00
robot-clickhouse-ci-1
de59c52a51
Merge pull request #54331 from ClickHouse/fix-test-02841
Fixed flaky test `02841_parallel_replicas_summary`
2023-09-07 01:02:41 +02:00
Alexey Milovidov
539394b463
Merge pull request #54371 from Avogar/try-fix-async-query-sending-test
Enable hedged requests integration tests with tsan, use max_distributed_connections=1 to fix possible flakiness
2023-09-07 01:57:24 +03:00
Alexey Milovidov
dc127f2572
Merge pull request #54321 from azat/tests/01051_system_stack_trace
Increase timeout for system.stack_trace in 01051_system_stack_trace
2023-09-07 01:54:53 +03:00
robot-clickhouse
6404768aa4 Automatic style fix 2023-09-06 22:45:17 +00:00
Igor Nikonov
724e2ee4f7 Disable prefer_localhost_replica in tests 2023-09-06 22:27:41 +00:00
Boris Kuschel
3d4ab810b0
User correct target tripget triple 2023-09-06 13:45:35 -07:00
Boris Kuschel
91a0f5349c
Use abiv2 for generated asm 2023-09-06 13:40:59 -07:00
Robert Schulze
d372776de6
Fix more tests 2023-09-06 19:46:52 +00:00
Azat Khuzhin
33a681bb3f Fix 01051_system_stack_trace flakiness
This should fix possible flakiness [1] due to "Cannot obtain a stack trace for thread":

<details>

    $ zstd -cdq clickhouse-server.log.zst | grep -a 2a66d71f-1340-44c8-9d0f-0779b0218ae4
    2023.09.05 12:04:55.906701 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Debug> executeQuery: (from [::1]:52620) (comment: 01051_system_stack_trace.sql) -- { echo }
    2023.09.05 12:04:55.907041 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Trace> ContextAccess (default): Access granted: SELECT(query_id) ON system.stack_trace
    2023.09.05 12:04:58.858695 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Debug> StorageSystemStackTrace: Cannot obtain a stack trace for thread 617
    2023.09.05 12:05:01.858508 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Debug> StorageSystemStackTrace: Cannot obtain a stack trace for thread 812
    2023.09.05 12:05:04.858698 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Debug> StorageSystemStackTrace: Cannot obtain a stack trace for thread 1707
    2023.09.05 12:05:05.194543 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Trace> InterpreterSelectQuery: FetchColumns -> Complete
    2023.09.05 12:05:05.195960 [ 2835 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Trace> Aggregator: Aggregation method: without_key
    2023.09.05 12:05:05.195997 [ 2835 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Trace> AggregatingTransform: Aggregated. 0 to 1 rows (from 0.00 B) in 0.001220809 sec. (0.000 rows/sec., 0.00 B/sec.)
    2023.09.05 12:05:05.196008 [ 2835 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Trace> Aggregator: Merging aggregated data
    2023.09.05 12:05:05.196020 [ 2835 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Trace> Aggregator: Statistics updated for key=5518594236514924310: new sum_of_sizes=1, median_size=1
    2023.09.05 12:05:05.197646 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Debug> executeQuery: Read 1937 rows, 158.08 KiB in 9.291003 sec., 208.48125869725797 rows/sec., 17.01 KiB/sec.
    2023.09.05 12:05:05.197748 [ 617 ] {2a66d71f-1340-44c8-9d0f-0779b0218ae4} <Debug> TCPHandler: Processed in 9.291633143 sec.

</details>

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/5da7133c9421873c86bf7d5d71e699267fcefbff/stateless_tests__aarch64_.html

v0: increase timeout
v2: revert timeout change and add no-parallel
v3: add filter by thread_name to avoid sending signals to other threads and increase timeout
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-06 21:11:07 +02:00
SmitaRKulkarni
f0146c0ff0
Increase retries for test_merge_tree_azure_blob_storage (#54069)
* Increase max_single_download_retries & max_single_read_retries for test_merge_tree_azure_blob_storage

* Updated logs to log exception leading to detaching part

* Updated to catch RequestFailedException azure exception as its the base exception

* Updated isRetryableExcepion to take std::exception_ptr as input

* Fixed style check fails

* Fix build issue & moved NetException & TimeoutException to retryable exceptions

* Fixed style check with catch
2023-09-06 19:57:59 +02:00
robot-ch-test-poll3
7f756ed613
Merge pull request #54354 from ClickHouse/parallel-replicas-cleanup
Parallel replicas: remove unused code
2023-09-06 19:38:14 +02:00
avogar
e44580fa47 Enable hedged requests integration tests with tsan, use max_distributed_connections=1 to fix possible flakiness 2023-09-06 17:15:23 +00:00
Alexander Sapin
4368c00052 Fix logical error in vertical merge + replacing merge tree + optimize cleanup 2023-09-06 18:43:56 +02:00
Alexey Milovidov
47701d690a
Merge pull request #54136 from aiven-sal/aiven-sal/fix_38585
Fix issues in accurateCastOrNull
2023-09-06 19:14:03 +03:00
Alexey Milovidov
05a62ab5cc
Merge pull request #54322 from priera/fix_replace_partition_test
Fix replace_partition test
2023-09-06 19:13:25 +03:00
Alexander Sapin
314fee5698 Disable one more test 2023-09-06 17:26:12 +02:00
robot-ch-test-poll4
8c71582316
Merge pull request #54185 from ClickHouse/analyzer-partition-id-pruning
Fix partition id pruning for analyzer.
2023-09-06 16:53:35 +02:00
robot-ch-test-poll1
9e50e8ff20
Merge pull request #54193 from ClickHouse/fix_replace_partition_with_zero_copy
Fix REPLACE/MOVE PARTITION with zero-copy replication
2023-09-06 16:04:25 +02:00
Alexey Milovidov
a59cf9cac8
Merge pull request #54338 from ClickHouse/keeper-bad-punctuation
Fix bad punctuation in Keeper's logs
2023-09-06 16:57:59 +03:00