Commit Graph

130994 Commits

Author SHA1 Message Date
Alexey Milovidov
5de99eceec Fix "logs and exception messages formatting", part 1 2023-12-07 21:38:59 +01:00
Alexey Milovidov
4d41c9fa0a
Merge pull request #57587 from azat/client-spawn-editor-fix
Correctly handle errors during opening query in editor in client
2023-12-07 21:22:46 +01:00
robot-clickhouse
f7c3304045 Automatic style fix 2023-12-07 19:42:33 +00:00
Kseniia Sumarokova
807e209ac6
Merge pull request #57593 from ClickHouse/add-a-test-for-issue-with-table-override
Add a test for #48039
2023-12-07 20:22:13 +01:00
Alexey Milovidov
429ed34607
Merge pull request #57479 from mkmkme/mkmkme/zookeeper-read-only
Add support for read-only mode in ZooKeeper
2023-12-07 20:22:00 +01:00
Nikita Mikhaylov
0b5b042153 Add test 2023-12-07 20:09:44 +01:00
kssenii
ff65d0e727 Adjustments after merge with master 2023-12-07 19:49:30 +01:00
kssenii
725571461d Merge remote-tracking branch 'origin/master' into slru-for-filesystem-cache 2023-12-07 19:49:03 +01:00
kssenii
7205e4edbe Review fix 2023-12-07 18:47:14 +01:00
kssenii
199015576c Add a file which I forgot to commit 2023-12-07 18:30:43 +01:00
Azat Khuzhin
2c6604ec24 Allow nodes in config with from_env/from_zk and non empty element with replace=1
Such nodes in config are useful as a nodes with default values, that can
be overwritten from ZooKeeper/env.

So after this patch the following is valid, and is interpreted as
default value 86400, and can be overwritten via env:

```xml
<asynchronous_metrics_update_period_s replace="1" from_env="CH_ASYNCHRONOUS_METRICS_UPDATE_PERIOD_S">86400</asynchronous_metrics_update_period_s>
```

While the following is not:

```xml
<asynchronous_metrics_update_period_s             from_env="CH_ASYNCHRONOUS_METRICS_UPDATE_PERIOD_S">86400</asynchronous_metrics_update_period_s>
```

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-07 18:01:40 +01:00
Bharat Nallan Chakravarthy
2c1f57ba40 add docs 2023-12-07 08:58:11 -08:00
Bharat Nallan Chakravarthy
23ef9e4770 add tests 2023-12-07 08:57:57 -08:00
Nikita Mikhaylov
08cc9408f2 Better 2023-12-07 17:53:40 +01:00
Yarik Briukhovetskyi
6b6c72d991 add tests 2023-12-07 16:43:11 +00:00
Bharat Nallan Chakravarthy
27bcd14181 add SHA512_256 function 2023-12-07 08:43:00 -08:00
alesapin
46f04d6d0e Throw more clear exception 2023-12-07 17:15:39 +01:00
vdimir
04933ddcc6
Analyer: Fix logical error in MultiIfToIfPass 2023-12-07 16:11:15 +00:00
Yarik Briukhovetskyi
71277892cf init 2023-12-07 15:55:23 +00:00
robot-ch-test-poll1
9b517e4712
Merge pull request #57617 from hdhoang/master
fix typo TKSV
2023-12-07 15:58:10 +01:00
Alexey Milovidov
11920e751a
Merge pull request #57592 from bharatnc/ncb/alias-format-readable-size
Add FORMAT_BYTES as an alias for formatReadableSize
2023-12-07 15:15:56 +01:00
vdimir
f058fe1d20
Merge pull request #57564 from ClickHouse/vdimir/join_on_false_const_fix
Materialize block in HashJoin for Type::EMPTY
2023-12-07 15:09:05 +01:00
Mike Kot
4ef9065567 fix conversion error while getting psql table structure for empty array 2023-12-07 13:38:32 +00:00
hdhoang
fc8292182c
fix typo TKSV
correct name is TS-KV
2023-12-07 20:19:00 +07:00
Kruglov Pavel
6e813d66b2
Merge pull request #57613 from zvonand/zvonand-fix-fileCluster-docs
Fix docs for `fileCluster`
2023-12-07 14:08:44 +01:00
Andrey Zvonov
6e7c487a19
Update fileCluster.md 2023-12-07 13:00:20 +01:00
Andrey Zvonov
f0bf5ef3c8
Update fileCluster.md 2023-12-07 13:00:00 +01:00
kssenii
c785ebe921 Fix style check 2023-12-07 12:47:51 +01:00
kssenii
188d4d66c9 Merge with master 2023-12-07 12:45:36 +01:00
kssenii
0486631f4c Fxi 2023-12-07 12:44:00 +01:00
Dani Pozo
7ac4e83acc Fix parsing virtual hosted S3 URI 2023-12-07 12:32:32 +01:00
FFish
add243593d
fix: split lttb bucket strategy, first bucket and last bucket should only contain single point (#57003)
* fix: split lttb bucket policy, first bucket and last bucket should only
contain single point

* add comments and modify the corresponding query test

* style: update code format

* style: remove useless comments

* feat: add lttb bucket size test

* fix: typo, duplicate sql
2023-12-07 12:29:37 +01:00
Nikolai Kochetov
a1e8c06433
Merge pull request #57606 from ClickHouse/fix-test-distinct-in-order-analyzer
Fix flaky test: distinct in order with analyzer
2023-12-07 12:26:53 +01:00
kssenii
cc483c19a8 Fix merge with master 2023-12-07 12:14:49 +01:00
kssenii
8be3c9d218 Merge remote-tracking branch 'origin/master' into allow-to-change-some-cache-settings-without-restart 2023-12-07 12:14:24 +01:00
kssenii
614da21144 Better 2023-12-07 12:12:10 +01:00
robot-clickhouse
6cf7f75fb4 Automatic style fix 2023-12-07 10:11:44 +00:00
Igor Nikonov
1ab0690eb8 Fix test: distinct in order with analyzer 2023-12-07 10:03:37 +00:00
kssenii
246eeee2df Merge remote-tracking branch 'origin/master' into materialized-postgres-escape-publication 2023-12-07 10:48:15 +01:00
kssenii
56b20b6d36 Merge remote-tracking branch 'origin/master' into add-a-test-for-issue-with-table-override 2023-12-07 10:46:08 +01:00
kssenii
bbddd330c6 Add forgotten change 2023-12-07 10:46:00 +01:00
Kseniia Sumarokova
b3f22449f6
Merge pull request #57515 from ClickHouse/fix-materialized-pg-issue-with-incorrect-connection-options
MaterializedPostgreSQL: fix issue #41922, add test for #41923
2023-12-07 10:42:14 +01:00
Robert Schulze
554c5d690c
Merge remote-tracking branch 'rschu1ze/master' into format-arbitrary-types 2023-12-07 09:36:39 +00:00
Robert Schulze
0159a4d4a2
Merge pull request #57512 from rschu1ze/revert-revert-sqid
Revert "Revert "Add `sqid()` function""
2023-12-07 10:26:02 +01:00
Ryan Jacobs
ca790b6eec
apply python style check 2023-12-06 19:26:50 -08:00
凌涛
d0675488ac rebase 2023-12-07 11:14:55 +08:00
Ryan Jacobs
6a698d9480
clang-tidy 2023-12-06 18:56:54 -08:00
Ryan Jacobs
7d41426935
test_storage_postgresql: Add test_postgres_array_ndim_error_messges()
Tests:

1. View with array column cannot be empty --> error message
2. View cannot have empty array --> error message
3. View cannot have NULL array value --> error message
4. Ensures PG identifiers that require quoting do not crash ClickHouse.

These apply to views that contain arrays.
2023-12-06 18:39:09 -08:00
Mikhail f. Shiryaev
b44dadc5c6
Identify failed jobs in lambda and mark as steps=0 2023-12-07 01:35:47 +01:00
Alexey Milovidov
b85214ca1a
Merge pull request #57546 from rschu1ze/revert-revert-support_alias_column_in_indices
Revert "Revert "Support use alias column in indices""
2023-12-07 01:22:03 +01:00