Commit Graph

127243 Commits

Author SHA1 Message Date
Nikolay Degterinsky
4fdca75dab Change cluster name 2023-11-13 17:08:40 +00:00
Nikolay Degterinsky
a1abf3202e Add test for ROW POLICY ON CLUSTER 2023-11-11 12:34:27 +00:00
Justin de Guzman
e33dc02c8c
Add note clarifying Prometheus support in ClickHouse Cloud (#56069) 2023-10-30 13:35:02 +01:00
robot-clickhouse
cb0cf67d67
Merge pull request #56057 from amosbird/fix-56031
Fix missing scalar issue when evaluating subqueries inside table functions
2023-10-30 12:31:15 +01:00
Raúl Marín
b042e2d986
Merge pull request #55713 from ClickHouse/Randomize_block_number_column_in_ci
Randomize block_number column setting in ci
2023-10-30 12:30:51 +01:00
Kseniia Sumarokova
d026299901
Merge pull request #55949 from azat/connections_credentials-fix
Fix overrides via connections_credentials in case of root directives exists
2023-10-30 12:17:33 +01:00
Raúl Marín
19c2ad5c9b
Merge pull request #56116 from azat/tests/fix-test_format_schema_on_server
Fix test_format_schema_on_server flakiness
2023-10-30 12:02:14 +01:00
Sergei Trifonov
58824fb02b
Merge pull request #56030 from azat/disks/least_used-fix
Fix incorrect free space accounting for least_used JBOD policy
2023-10-30 09:04:38 +01:00
Azat Khuzhin
b87ebb2a83 Fix test_format_schema_on_server flakiness
Sometimes the requests library detect the encoding incorrectly, and
because this test compares binary data it fails.

Here is an example of successfull attempt:

    2023-10-30 07:32:37 [ 654 ] DEBUG : http://172.16.1.2:8123 "GET /?query=SELECT+%2A+FROM+test.simple+FORMAT+Protobuf+SETTINGS+format_schema%3D%27simple%3AKeyValuePair%27 HTTP/1.1" 200 None (connectionpool.py:546, _make_request)
    2023-10-30 07:32:37 [ 654 ] DEBUG : Encoding detection: utf_8 will be used as a fallback match (api.py:480, from_bytes)
    2023-10-30 07:32:37 [ 654 ] DEBUG : Encoding detection: Found utf_8 as plausible (best-candidate) for content. With 0 alternatives. (api.py:487, from_bytes)

And here is failed [1]:

    2023-10-29 18:12:56 [ 525 ] DEBUG : http://172.16.9.2:8123 "GET /?query=SELECT+%2A+FROM+test.simple+FORMAT+Protobuf+SETTINGS+format_schema%3D%27message_tmp%3AMessageTmp%27 HTTP/1.1" 200 None (connectionpool.py:547, _make_request)
    2023-10-29 18:12:56 [ 525 ] DEBUG : Encoding detection: Found utf_16_be as plausible (best-candidate) for content. With 1 alternatives. (api.py:487, from_bytes)
    E       AssertionError: assert '܈Ē͡扣܈Ȓͤ敦' == '\x07\x08\x01\x12\x03abc\x07\x08\x02\x12\x03def'
    E         - abcdef
    E         + ܈Ē͡扣܈Ȓͤ敦

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/56030/c7f392500e93863638c9ca9bd56c93b3193091f3/integration_tests__release__[3_4].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-30 08:45:47 +01:00
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
Alexey Milovidov
88440d4c07
Merge pull request #54568 from JackyWoo/optimize_uniq_to_count2
Resubmit optimization uniq to count
2023-10-30 01:33:36 +01:00
robot-ch-test-poll2
088a3ada7f
Merge pull request #56070 from ClickHouse/docs-dictionary-updates
Clarify query behavior dictionary updates
2023-10-30 01:20:21 +01:00
Alexey Milovidov
64b6e68a50
Merge pull request #55683 from amosbird/issue-55653
Reuse granule during skip index reading
2023-10-30 00:51:51 +01:00
Alexey Milovidov
8b57822d10
Merge pull request #56109 from ClickHouse/revert-54813-feature/function-getClientHttpHeader
Revert "Add function getHttpHeader"
2023-10-29 17:51:04 +01:00
Alexey Milovidov
6eff22568f
Revert "Add function getHttpHeader" 2023-10-29 19:50:39 +03:00
Azat Khuzhin
c7f392500e Fix incorrect free space accounting for least_used JBOD policy
Before least_used fails to detect when the disk started to have more
space, it works only when the disk starts to have less space.

The reason for this is that it uses priority_queue, and once the disk
goes at the bottom of the queue, free space will not be updated for it
until it will be selected again.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-29 17:36:31 +01:00
Rich Raposa
d6a09a6efa
Merge pull request #56100 from ClickHouse/amazon_reviews
Update the Amazon reviews
2023-10-28 22:23:54 -06:00
Alexey Milovidov
f201b7bc79
Merge pull request #56103 from ClickHouse/revert-55995-buf
Revert "Fix 'Block structure mismatch' on concurrent ALTER and INSERTs in Buffer table"
2023-10-29 02:34:14 +01:00
rfraposa
a993683a5b Update amazon-reviews.md 2023-10-28 19:34:04 -06:00
Alexey Milovidov
9aff0a8872 Revert "Fix 'Block structure mismatch' on concurrent ALTER and INSERTs in Buffer table (#55995)"
This reverts commit b65c498016.
2023-10-29 04:34:04 +03:00
robot-clickhouse-ci-2
73c5312392
Merge pull request #56084 from bezik/patch-5
Update performance.md
2023-10-28 22:03:53 +02:00
rfraposa
11f2dd1d10 Update amazon-reviews.md 2023-10-28 13:13:24 -06:00
rfraposa
7ab492edad Update amazon-reviews.md 2023-10-28 12:58:47 -06:00
robot-clickhouse-ci-1
8c63d56cbb
Merge pull request #56094 from bezik/patch-9
Update install.md
2023-10-28 19:52:56 +02:00
AN
9fae0e06d8
Update install.md (ru)
Minor fixes (excessive space, some terms)
2023-10-28 17:41:53 +03:00
Alexey Milovidov
fc027824be
Merge pull request #56087 from ClickHouse/laz
Fix flakiness of 02263_lazy_mark_load
2023-10-28 15:49:02 +02:00
robot-ch-test-poll2
6b39094854
Merge pull request #56093 from bezik/patch-8
Update history.md
2023-10-28 15:27:02 +02:00
Alexey Milovidov
1b085b1161
Merge pull request #55900 from ClickHouse/make-test-better
Make test `system_zookeeper_connection` better
2023-10-28 15:01:36 +02:00
Alexey Milovidov
102feacac0
Merge pull request #55654 from ClickHouse/fix-garbage-config-index-mark-cache
Fix misconfiguration of the index mark cache
2023-10-28 14:57:29 +02:00
Alexey Milovidov
744b1db084
Merge pull request #56090 from ClickHouse/intervals_comparison
Throw an error when comparing time intervals with different units
2023-10-28 14:56:55 +02:00
Alexey Milovidov
718a7faa7c
Merge pull request #56091 from ClickHouse/less-bloated
Make the code less bloated
2023-10-28 14:55:49 +02:00
AN
f56ee313c7
Update install.md
Minor Russian-language related fixes (commas, dashes, etc.)
2023-10-28 12:25:15 +03:00
AN
146c5ce4d3
Update history.md
Minor Russian language-related fixes (primarily punctuation — dashes, commas, etc.)
2023-10-28 12:12:29 +03:00
Alexey Milovidov
243499aad1
Merge pull request #55796 from ClickHouse/Fix_azurite_port
Fix azurite port issue
2023-10-28 00:40:24 +02:00
Alexey Milovidov
d9a18faab8
Merge pull request #55679 from ClickHouse/allow-final-custom-key-parallel-replicas
Allow FINAL with parallel replicas with custom key
2023-10-28 00:40:03 +02:00
robot-ch-test-poll3
b6cb32b984
Merge pull request #56086 from kitaisreal/keeper-fix-run-without-config
Keeper fix run without config
2023-10-28 00:36:52 +02:00
robot-clickhouse-ci-2
9591f04229
Merge pull request #56080 from ClickHouse/tavplubix-patch-9
Try enable `01154_move_partition_long` with s3
2023-10-28 00:33:06 +02:00
Alexey Milovidov
2b60d5ae67 Make the code less bloated 2023-10-28 00:04:19 +02:00
Alexey Milovidov
e8e96ea77a Throw an error when comparing time intervals with different units 2023-10-27 23:24:55 +02:00
Alexey Milovidov
6eb89ac785 Merge remote-tracking branch 'origin/master' into intervals_comparison 2023-10-27 23:05:55 +02:00
Alexey Milovidov
fbb919c269 Fix typo 2023-10-27 23:05:46 +02:00
Alexey Milovidov
59e3d64d2c
Merge pull request #56050 from azat/bash-completion-fix
Fix bash completion for mawk (and update format list and add one more delimiter)
2023-10-27 22:12:42 +02:00
Alexander Gololobov
2f53dc9432
Merge pull request #56054 from ClickHouse/optimize_keeper_metrics
Avoid traversing potentially big list of watches
2023-10-27 22:02:39 +02:00
Dmitry Novik
224d4f0ee1
Merge pull request #56055 from ClickHouse/fix-recursive-window-analyzer
Analyzer: Fix crash on window resolve
2023-10-27 21:55:46 +02:00
Azat Khuzhin
8782873e4f Fix overrides via connections_credentials in case of root directives exists
Before the following did not work, it always uses user `dev`, even with
`clickhouse-client --connection prod`:

  ```yaml
  user: dev

  connections_credentials:
    prod:
      name: prod
      user: prod
  ```

The problem was that before it was not possible to distinguish options
that had been set via command line options and via configuration file.

I've splitted this two actions, and embedded a call to
parseConnectionsCredentials() in between.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-27 20:03:50 +02:00
Michael Kolupaev
c4ad55a4d4 Fix flakiness of 02263_lazy_mark_load 2023-10-27 17:59:10 +00:00
Maksim Kita
9b60a3d7aa Keeper run without config fix 2023-10-27 20:53:07 +03:00
Michael Kolupaev
b65c498016
Fix 'Block structure mismatch' on concurrent ALTER and INSERTs in Buffer table (#55995) 2023-10-27 10:06:43 -07:00
AN
a6dd84aae2
Update performance.md
Minor language-related fixes (dashes, missing or explicit commas, standard terms, etc.)
2023-10-27 19:02:24 +03:00
Amos Bird
d6066302f3
Improve test 2023-10-27 23:57:56 +08:00