Commit Graph

160195 Commits

Author SHA1 Message Date
pufit
bbbc87d354 Merge branch 'master' into add-syntax-alter-user-modify-settings
# Conflicts:
#	src/Parsers/Access/ASTCreateRoleQuery.cpp
#	src/Parsers/Access/ASTCreateSettingsProfileQuery.cpp
#	src/Parsers/Access/ASTCreateUserQuery.cpp
#	src/Parsers/Access/ASTSettingsProfileElement.cpp
#	src/Parsers/Access/ASTSettingsProfileElement.h
2024-12-05 23:24:22 -05:00
Alexander Gololobov
95a36b9312
Merge pull request #72814 from ClickHouse/cancel_marks_load
Cancel async marks load task if it hasn't started
2024-12-05 18:47:10 +00:00
Pavel Kruglov
03bc631cf2
Merge pull request #72454 from Avogar/fix-empty-variant
Don't allow creating empty Variant
2024-12-05 18:21:56 +00:00
Pavel Kruglov
ad66d84136
Merge pull request #72772 from Avogar/dynamic-ifnull-coalesce
Support Dynamic type in functions ifNull and coalesce
2024-12-05 18:18:56 +00:00
Mikhail Artemenko
55d6a7f603
Merge pull request #72593 from azat/config-zk-sync
Ensure that ClickHouse will see ZooKeeper changes on config reloads
2024-12-05 17:44:51 +00:00
Sema Checherinda
e26fb09d00
Merge pull request #72654 from ClickHouse/revert-72642-revert-72395-chesema-dtor-Finalizer
Revert "Revert "make d-tor Finalizer more obvious""
2024-12-05 16:40:14 +00:00
Raúl Marín
f752c0b89d
Merge pull request #72836 from ClickHouse/revert-72770-more_insistent_compress_in_memory_eng
Revert "More insistent compression in `StorageMemory`"
2024-12-05 15:40:26 +00:00
Mikhail f. Shiryaev
65d895a6db
Merge pull request #72835 from ClickHouse/limit-integration-tests-memory
Limit the docker memory to {HOST_MEM-2G}, preventing OOMs
2024-12-05 15:20:03 +00:00
Raúl Marín
a1d119e179
Merge pull request #72812 from Algunenano/siphash
Remove more nested includes
2024-12-05 15:12:50 +00:00
Sema Checherinda
e5c424cf5f
Merge pull request #72587 from ClickHouse/chesema-fix-cancelation
fix pipeline cancelation
2024-12-05 14:11:30 +00:00
Vladimir Cherkasov
d88f39c7e9
Merge pull request #67323 from kirillgarbar/ch-disks-remove
Reduce memory usage for removeSharedRecursive operation
2024-12-05 13:58:53 +00:00
Pavel Kruglov
133ba836e8
Update 03280_dynamic_if_null.reference 2024-12-05 14:38:51 +01:00
avogar
dace4f705e Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-empty-variant 2024-12-05 13:26:53 +00:00
Alexander Tokmakov
d22174e3bf
Merge pull request #72685 from ClickHouse/rdb_fix_flatten_nested
Fix flatten_nested when recovering a Replicated database
2024-12-05 13:26:50 +00:00
Pavel Kruglov
94184a3bef
Merge pull request #71784 from Avogar/object-to-json-alter
Support ALTER from Object to JSON
2024-12-05 13:18:57 +00:00
János Benjamin Antal
0b6e8e8b68
Merge pull request #72362 from jotosoares/patch-1
docs(view.md): remove experimental from refreshable materialized views title
2024-12-05 12:58:29 +00:00
Alexander Tokmakov
551605a46b
Merge pull request #70476 from azat/fix-possible-intersecting-parts-in-mt
Fix possible intersecting parts for MergeTree (after moving to detached failed)
2024-12-05 12:34:27 +00:00
Mikhail f. Shiryaev
726054d161
Print the argparse help with defaults 2024-12-05 13:15:36 +01:00
Mikhail f. Shiryaev
5b1d454f2e
Make docker container memory a CLI argument 2024-12-05 13:14:33 +01:00
Raúl Marín
ba517d6762
Revert "More insistent compression in StorageMemory" 2024-12-05 12:47:02 +01:00
Mikhail f. Shiryaev
9489137e23
Fix typing warnings 2024-12-05 12:39:52 +01:00
Mikhail f. Shiryaev
90d655dd96
Limit the docker memory to {HOST_MEM-2G} 2024-12-05 12:32:43 +01:00
Vitaly Baranov
b51df5655c
Merge pull request #70597 from bigo-sg/toUnixTimestamp-fix
Add function toUnixTimestamp64Second
2024-12-05 10:59:55 +00:00
Miсhael Stetsyuk
4346ccb434
Merge pull request #72637 from ClickHouse/startup-scripts-execution-state
add `StartupScriptsExecutionState` metric
2024-12-05 10:43:04 +00:00
Alexander Gololobov
feb2edc057 Merge branch 'master' of github.com:ClickHouse/ClickHouse into cancel_marks_load 2024-12-05 11:39:16 +01:00
Raúl Marín
b7fed584fc Missing include 2024-12-05 10:26:03 +00:00
Daniil Ivanik
9f425ebe73
Merge pull request #69445 from ClickHouse/divanik/add_schema_evolution_concise
Make simple schema evolution for Iceberg data format
2024-12-05 10:22:55 +00:00
Anton Popov
e5561fcdb6
Merge pull request #72820 from CurtizJ/disable-test-dist-cache
Disable test with distributed cache
2024-12-05 10:06:00 +00:00
Vladimir Cherkasov
d1aec7c4a5
Merge pull request #72732 from bigo-sg/like-enum
Support string search operator for Enum data type
2024-12-05 08:35:49 +00:00
zhanglistar
4d3b3c3588 add order by in sql test 2024-12-05 11:23:24 +08:00
Anton Popov
c25306320f disable test with distributed cache 2024-12-05 01:44:16 +00:00
Anton Popov
1ca206a09b
Merge pull request #72791 from primeroz/fciocchetti-fix-azure-list-trailing-slash
Make the List Blob Azure work regardless if the endpoint has a trailing slash or not
2024-12-05 00:38:06 +00:00
Kseniia Sumarokova
777b016d6a
Merge pull request #72738 from ClickHouse/s3queue-avoid-no-such-key
Fix no-such-key in s3queue in certain case
2024-12-04 22:32:37 +00:00
Azat Khuzhin
1aa320c0ca tests: allow nested with_replace_config()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 22:54:44 +01:00
Mikhail f. Shiryaev
2f3f5dbe0f
Merge pull request #72793 from ClickHouse/integration-tests-output
Output logs for integration tests, add TeePopen.terminate
2024-12-04 21:16:09 +00:00
Raúl Marín
1ba23db27c
Merge pull request #72694 from Algunenano/settings_checks
Add MergeTreeSettings to system.settings_changes
2024-12-04 19:22:26 +00:00
Vitaly Baranov
4a829a66cd
Merge pull request #72753 from vitlibar/support-parsing-gcs-s3-error-authentication-required
Support parsing GCS S3 error "AuthenticationRequired"
2024-12-04 19:18:48 +00:00
Raúl Marín
4e5a67b80c Fix style 2024-12-04 19:18:13 +00:00
Alexander Gololobov
d8f395c3de Cancel async marks load task if it hasn't started 2024-12-04 20:13:46 +01:00
Kseniia Sumarokova
fe01be106c
Update test.py 2024-12-04 19:38:26 +01:00
Sema Checherinda
31c5de433b fix style 2024-12-04 18:12:49 +01:00
Sema Checherinda
d33c22b3e3 fix test 2024-12-04 18:11:54 +01:00
Raúl Marín
89dbb42874 Remove more deps from SipHash 2024-12-04 17:51:51 +01:00
Azat Khuzhin
47397a45c5 tests: make test_config_substitutions idempotent
Now the following passed:

    $ bin=$(which clickhouse); g=$PWD; docker run --privileged -it --rm --volume=$bin:/clickhouse --volume=$bin:/usr/share/clickhouse_fresh --volume=/dev/null:/usr/bin/clickhouse-odbc-bridge --volume=/dev/null:/usr/share/clickhouse-odbc-bridge_fresh --volume=$g/programs/server:/clickhouse-config --volume=$g:/ClickHouse --volume=$g/docker/test/integration/runner/compose:/compose:ro --volume=clickhouse-integration-tests:/var/lib/docker -e PYTEST_ADDOPTS='-vvv -s --pdb --count 2 test_config_substitutions/test.py' --name ch clickhouse/integration-tests-runner

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Azat Khuzhin
f1e909e309 Remove config_reload_sync_zookeeper (issue sync unconditionally)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Azat Khuzhin
86fb8f647f Read config_reload_sync_zookeeper only from the server config
Previously it had been read from each config, i.e. for users it should
be defined in users.xml/yaml.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Azat Khuzhin
c9291949ba Enable config_reload_sync_zookeeper for test_config_substitutions
This should fix flakiness of `test_config_substitutions/test.py::test_config_multiple_zk_substitutions` [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/71406/af822de0bf896dcb0a28f55889d12611bd38171a/integration_tests__asan__old_analyzer__[1_6].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Azat Khuzhin
ac0fb050f1 Add ability to sync ZooKeeper before reloading the config
Otherwise it is not deterministic wether ClickHouse will see this
change, i.e. if you created znode just before `SYSTEM RELOAD CONFIG` it
is not 100% that the ClickHouse will see it.

Refs: apache/zookeeper@8ee17324ce
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Igor Nikonov
5902f3058d
Merge pull request #72706 from ClickHouse/pr-fix-setting-history
Align PR setting changes history with 24.10
2024-12-04 16:21:53 +00:00
Michael Stetsyuk
d77df2b4f2 empty 2024-12-04 16:05:06 +00:00