1880 Commits
Author SHA1 Message Date
robot-clickhouse 131487cbb4 Docs: regenerate reference documentation from source 2026-10-27 09:29:46 +00:00
Alexey Milovidov 3a47f5f306 Merge pull request #112950 from ClickHouse/vortex-format
Support the Vortex file format
2026-10-26 20:39:25 +00:00
Alexey Milovidov 7e9ab71b7c Merge pull request #127310 from ClickHouse/docs-lateral-join-decorrelated
Docs: LATERAL JOIN is decorrelated, not evaluated per left value
2026-10-26 20:17:20 +00:00
Azat Khuzhin 8822a14645 Merge pull request #127717 from nikita-vanyasin/text-log-level-root-logger-level
Take an explicitly configured text_log.level into account when updating logger levels
2026-10-26 16:40:15 +00:00
Alexey MilovidovandClaude Opus 5.5 2009ea04f5 Address review: equality substitution in LATERAL JOIN may, not must, avoid reading the left rows
An aggregate without `GROUP BY` (such as `count`) still builds the correlated
domain to restore empty groups, so the in-memory buffer and the hash-join
restriction still apply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 14:46:28 +00:00
Pavel Kruglov b7b3d89477 Merge pull request #127000 from ClickHouse/shared-type-hints-plain
Add `SHARED` typed paths to the JSON type
2026-10-26 10:33:27 +00:00
robot-clickhouse a37260b95f Docs: regenerate reference documentation from source 2026-10-26 07:56:04 +00:00
Alexey Milovidov 9f8f660bac Merge remote-tracking branch 'origin/master' into HEAD 2026-10-25 23:10:17 +00:00
Alexey Milovidov 673f9245ef Merge remote-tracking branch 'origin/master' into HEAD 2026-10-25 13:16:57 +00:00
Alexey MilovidovandClaude Opus 5.5 db89174147 Address review: the hash-join restriction of LATERAL JOIN applies only when a buffer is actually used
With the default `correlated_subqueries_substitute_equivalent_expressions = 1`, a simple
equality correlation is substituted and no in-memory buffer is created, so `join_algorithm`
applies. Say so in the docs, and qualify the `max_rows_in_join` note the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 13:16:57 +00:00
robot-clickhouse 03b237b07e Docs: regenerate reference documentation from source 2026-10-25 07:41:52 +00:00
Alexey Milovidov 8d611f5bdd Merge remote-tracking branch 'origin/master' into HEAD 2026-10-24 18:03:47 +00:00
Shaun Struwig ce534743bf Merge pull request #127450 from JayPokale/docs-type-conversion-example
Docs: separate queries from results in the type conversion example
2026-10-24 10:51:42 +00:00
Nikita VaniasinandClaude Fable 5.1 68f368c344 Document how text_log.level interacts with the root logger level
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-24 12:14:05 +02:00
Alexey MilovidovandClaude Opus 5.5 43c88123ca Address review: qualify the hash join and the LimitBy step in LATERAL JOIN docs
The join of the decorrelated lateral subquery is restricted to hash join only when
the left rows are shared through the in-memory buffer (the default); otherwise
`join_algorithm` decides. The `LimitBy` step only appears when the subquery has `LIMIT`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 08:42:14 +00:00
Alexey Milovidov 5790b7a662 Merge remote-tracking branch 'origin/master' into HEAD 2026-10-24 08:38:09 +00:00
robot-clickhouse 07515447a9 Docs: regenerate reference documentation from source 2026-10-24 07:37:45 +00:00
Alexey MilovidovandClaude Opus 5.5 8c5adc437f Choose the codec of an inserted part by the size of the inserted block
The size-aware default codec (`LZ4` below 100 MB, `ZSTD(3)` above) was evaluated
with size `0` for every inserted part, so all inserted data was written with `LZ4`
and then rewritten with `ZSTD(3)` by merges. Use the uncompressed size of the
inserted block instead: small inserts still use `LZ4`, and large ones get `ZSTD(3)`
right away.

Split from https://github.com/ClickHouse/ClickHouse/pull/126251
https://github.com/ClickHouse/ClickHouse/pull/126251#issuecomment-6375182938

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:44:02 +00:00
George Larionov 6046d9d288 Merge pull request #122484 from ClickHouse/ai-functions/ai-service-static-pool
Issue AI function requests concurrently from a server-wide thread pool
2026-10-23 19:15:54 +00:00
Shaun Struwig d5bdd5828f Merge pull request #127580 from ClickHouse/yarik/docs-array-join-row-order
Improve docs for ARRAY JOIN row order
2026-10-23 15:25:04 +00:00
Shaun Struwig 2db5d9cb7e Merge pull request #127535 from JayPokale/docs-perimeter-spherical
Docs: fix the perimeterSpherical example result and state the units of the spherical functions
2026-10-23 14:28:27 +00:00
Shaun Struwig 984fb677eb Merge pull request #127449 from JayPokale/docs-h3-examples
Docs: fix wrong results in H3 function examples
2026-10-23 12:48:16 +00:00
Shaun Struwig 34b3de4f96 Merge pull request #127448 from JayPokale/docs-flipcoordinates-float
Docs: make the flipCoordinates examples run
2026-10-23 12:46:43 +00:00
yariks5sandClaude Opus 5.5 9a73389d18 Do not promise the nesting order of several arrayJoin calls
The order depends on the query plan: with `WHERE y > 0` the second call becomes the outer loop. Require `ORDER BY` for a predictable order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 12:23:02 +00:00
Shaun Struwig d0d138dedf Docs: add iceberg_metadata_log_entries navigation 2026-10-23 11:42:53 +02:00
robot-clickhouse b3546a276b Docs: regenerate reference documentation from source 2026-10-23 07:46:44 +00:00
Jay Pokale b3c7d237d1 Docs: fix the perimeterSpherical example result and state the units of the spherical functions
The example showed 0 for the perimeter of a 1x1 degree square line string; the current build returns
0.06981051179132045, the perimeter in radians on a sphere of radius 1. Say that the results of `perimeterSpherical`
and `areaSpherical` are on a unit sphere, in radians and steradians.
2026-10-23 09:01:51 +05:30
Alexey Milovidov d93b79e683 Merge remote-tracking branch 'origin/master' into HEAD
# Conflicts:
#	src/Common/ProfileEvents.cpp
2026-10-23 00:52:12 +00:00
George Larionov b22e47141b Merge remote-tracking branch 'origin/master' into ai-functions/ai-service-static-pool 2026-10-22 22:34:02 +00:00
Jay Pokale 35c1eeefe4 Docs: separate queries from results in the type conversion example
The three queries and their result tables were in one SQL block, so the block could not be run as is. Put each
query and its result in their own blocks. The results are unchanged: the current master build gives the same.
2026-10-22 23:39:54 +05:30
Jay Pokale 4e4b82b41f Docs: fix wrong results in H3 function examples
`h3EdgeAngle`, `h3EdgeLengthM` and `h3EdgeLengthKm` showed values that the current build doesn't return,
`h3ToGeoBoundary` showed the boundary of a different index than the one queried, and the `h3GetRes0Indexes`
example called it without parentheses, which fails. The results are from the current master build.
2026-10-22 23:38:59 +05:30
Jay Pokale 28cf6b5a28 Docs: make the flipCoordinates examples run
All four examples passed integer coordinates, which `flipCoordinates` rejects (it needs `Float64`), and the
"multipolygon" example was nested arrays without tuples. Use `Float64` literals, make the last example a real
multipolygon, take the results from the current master build, and say that coordinates must be `Float64`.
2026-10-22 23:37:33 +05:30
yariks5s 4d88690cc2 Merge remote-tracking branch 'origin/master' into yarik/docs-array-join-row-order 2026-10-22 17:14:03 +00:00
Alexey Milovidov 1395ec49fc Merge pull request #126138 from ClickHouse/revert-125569-fomichev/revert-116724
Revert "Revert "Verify the server certificate hostname on outbound TLS connections""
2026-10-22 17:08:49 +00:00
Shaun Struwig afdd858062 Merge pull request #127251 from danbugs/docs-hyperlight-python-driver
Docs: list a third-party executable UDF driver, HyperlightPython
2026-10-22 09:16:14 +00:00
robot-clickhouse 9daf480238 Docs: regenerate reference documentation from source 2026-10-22 07:49:02 +00:00
Alexey MilovidovandClaude Opus 5.5 9934cb776d Docs: LATERAL JOIN is decorrelated, not evaluated per left value
The documentation said that the lateral subquery "is evaluated for each
distinct combination of the left-side column values". That describes the
result, not the execution: the subquery is decorrelated into a single query
(the referenced left-side columns become GROUP BY keys if it aggregates,
LIMIT becomes LIMIT BY, and the result is hash-joined to the left rows), as
EXPLAIN shows with the step "LimitBy (LIMIT BY for decorrelated correlated
subquery)". Say so, and reword the limitations that referred to "all
evaluations".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:39:56 +00:00
danbugs 9ca2738f96 Docs: list a third-party executable UDF driver, HyperlightPython
Adds a "Third-party drivers" subsection after the example C drivers, with HyperlightPython, which runs a Python function body in a Hyperlight micro-VM restored from a snapshot for each block.

Signed-off-by: danbugs <danilochiarlone@gmail.com>
2026-10-21 18:31:45 +00:00
Shaun Struwig f3ecfbbe81 Merge pull request #127130 from ClickHouse/robot/docs-autogen
Docs: regenerate reference documentation from source
2026-10-21 13:51:35 +00:00
Harikrishnan Prabakaran 187d361100 Merge pull request #124117 from valerypetrov/fix-position-case-insensitive-utf8-v2
Make case-insensitive UTF-8 substring search independent of constness, tail length and row layout
2026-10-21 11:21:45 +00:00
Shaun Struwig 614959d9fb Docs: restore ELASTICSEARCH source grant
Document the `ELASTICSEARCH` source privilege in the structured `GRANT` documentation and regenerate the reference page.

Related: https://github.com/ClickHouse/ClickHouse/pull/127130#discussion_r4335007124
2026-10-21 12:52:08 +02:00
Shaun Struwig 49dab4bb6a Docs: add system.connections to navigation
Add the generated reference page to the System Tables navigation group so the docs navigation check passes.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=127130&sha=14a18029a121eefee3ea75991429893268c4b4fc&name_0=PR&name_1=Docs%20check%20%28Mintlify%29
2026-10-21 11:00:26 +02:00
Shaun Struwig e1232bfef4 Merge remote-tracking branch 'upstream/master' into codex/fix-pr-127130-navigation 2026-10-21 10:59:04 +02:00
robot-clickhouse 14a18029a1 Docs: regenerate reference documentation from source 2026-10-21 07:54:20 +00:00
Nikolai Ovchinnikov 1177311f76 Merge pull request #121801 from kolsha/info-schema-privileges
Add `*_PRIVILEGES` views to `INFORMATION_SCHEMA`
2026-10-21 07:31:27 +00:00
Shaun Struwig 44a37d1fc5 Merge pull request #126894 from ClickHouse/robot/docs-autogen
Docs: regenerate reference documentation from source
2026-10-20 21:03:52 +00:00
Shaun Struwig 6a8fedf253 Merge pull request #126812 from groeneai/docs-identifiers-dollar-leading-digit
Docs: document `$` and leading digits in non-quoted identifiers
2026-10-20 21:03:28 +00:00
Kirill Kopnev e9f567e421 Merge pull request #124283 from ClickHouse/elastic-search-table-egine
Elastic search table engine
2026-10-20 20:28:36 +00:00
avogar 25372333ba Merge remote-tracking branch 'upstream/master' into shared-type-hints-plain
# Conflicts:
#	src/Compression/CompressedWriteBuffer.cpp
2026-10-20 17:37:49 +00:00
George Larionov 1d312f70f9 Merge master into ai-functions/ai-service-static-pool 2026-10-20 16:01:36 +00:00