Skip to content

Infer an omitted Distributed structure under the user's context - #113220

Merged
PedroTadim merged 2 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-distributed-infer-columns-access
Aug 7, 2026
Merged

PedroTadim merged 2 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-distributed-infer-columns-access

Conversation

@groeneai

@groeneai groeneai commented Aug 4, 2026 •

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fixed a case where CREATE TABLE ... ENGINE = Distributed(...) without a column list could reveal the structure of a local table the creating user is not allowed to see. For a CREATE the local server executes itself, the structure is now inferred under the user's own context, so SHOW COLUMNS on the target table is required, as it already is for the Remote engine. A CREATE replayed from the DDL queue (ON CLUSTER, or one inside a Replicated database) is not covered.

Description

Related: #113073. Found while reviewing engine-level schema inference.

What breaks. A user with CREATE TABLE on its own database plus TABLE ENGINE ON Distributed can learn the columns of a local table it may not DESCRIBE, by creating a columns-less Distributed table over it. On master that CREATE succeeds and persists them.

Root cause. The structure is inferred by StorageDistributed's constructor, which holds only the global context because the storage outlives any query context. With no user, full_access = !user_id makes the SHOW_COLUMNS check in getStructureOfRemoteTableInShard a no-op for a local shard. The check is in the right place; the context it got cannot enforce it.

The change. registerStorageDistributed now infers the structure under args.getLocalContext() and passes the columns to the constructor, as the sibling Remote engine does, skipping it for already-validated metadata (server startup, short ATTACH). Explicit column lists, Remote/RemoteSecure and remote() are unaffected. SHOW COLUMNS is the narrowest privilege here, weaker than Remote's SELECT plus INSERT.

Scope: only a CREATE the local server executes itself. A CREATE replayed from the DDL queue reaches the engine on a userless context, so the check is a no-op there; this PR does not change that. For ON CLUSTER the worker sets a user only when distributed_ddl_use_initial_user_and_roles is on and distributed_ddl_entry_format_version is at least 8 (the initiator is serialized from version 8; the default is 5); with both raised the denial fires. Inside a Replicated database tryEnqueueReplicatedDDL records no initiator, so no setting closes it. Both want #113073's initiator-side check.

Validation. New test 04715_distributed_infer_columns_access covers the denial, inference once SHOW COLUMNS is granted, explicit column lists, the temporary-table path and re-attach; it fails on master, passes here. 50 randomized runs pass, as do the existing Distributed inference and Remote access tests. The queue paths need Keeper and were measured separately.

Version info

  • Merged into: 26.8.1.929 (included in 26.8 and later)
  • Backported to: 26.6.3.13, 26.5.7.16, 26.3.18.8, 25.8.30.8

When CREATE TABLE ... ENGINE = Distributed(...) omits the column list, the
structure is inferred from the target table. For a local shard that inference
reads the target's metadata and is gated by a SHOW_COLUMNS check in
getStructureOfRemoteTableInShard.

That check could not enforce anything. StorageDistributed's constructor infers
using its own context, which is the global one, because the storage outlives any
query context and needs a context for its background insert work. A global
context has no user, so Context::getAccess computes full_access = !user_id and
the check is a no-op. Since the engine sets supports_schema_inference, a
columns-less CREATE is accepted rather than rejected, and reaches that
inference.

The effect is that a user holding CREATE TABLE on its own database plus
TABLE ENGINE ON Distributed could learn the column names and types of any local
table it is not allowed to describe, and the inferred columns are persisted into
its own metadata, so the disclosure survives a restart.

registerStorageDistributed now performs the inference itself under
args.getLocalContext() and passes the resulting columns to the constructor, so
the check runs against the creating user. The sibling Remote engine, which
shares StorageDistributed, already does exactly this, and its comment names this
hazard; Distributed was the engine that still had the hole.

The inference is skipped when the definition comes from already-validated
metadata stored on this server, that is server startup and short ATTACH queries,
where there is no user to check against and the constructor's inference is the
only source of the columns. SYSTEM RESTART REPLICA does not need to be admitted
by that guard: it returns early unless the table is a StorageReplicatedMergeTree,
so a Distributed table never reaches it.

The required privilege is the narrowest one. SHOW_COLUMNS is weaker than the
SELECT and INSERT that Remote requires, and SELECT implies it, so any user who
can read the target is unaffected. Explicit column lists, Remote and
RemoteSecure, the remote table function, and metadata loading are unchanged.

Also worth noting for future readers: the explicit macro expansion the first
version of this change performed was redundant, because Clusters::getCluster
expands macros in the cluster name itself.
The creator-side inference added in the previous commit passed the raw engine
argument to getCluster, while StorageDistributed's constructor looks up the
macro-expanded cluster_name member. Two of the three lookups
Context::tryGetCluster performs expand the name internally, but
tryGetReplicatedDatabaseCluster does not, and that is the only way a Replicated
database's implicit cluster resolves. So a columns-less
Distributed('{macro}', ...) whose macro names a Replicated database resolved
before this series and threw CLUSTER_DOESNT_EXIST after it.

Expand the name first, inside the branch that infers, so the two resolutions are
identical and an expansion failure cannot become a new error for a create that
supplies its columns explicitly.

Measured on a single node with an embedded Keeper, a Replicated database
probe_repl_db and a macro naming it: the raw-name form fails with
Code: 701 CLUSTER_DOESNT_EXIST while the expanded form infers the columns.
Controls on the same binary: an explicit column list succeeds, and so does a
columns-less create naming the cluster by its expanded literal, so the failure
is specific to the raw-name lookup.

Also restate the constructor's empty-columns comment as an invariant rather than
a claim about the caller set.
@groeneai

groeneai commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author
Internal second-model review (click to expand)

Two review rounds: an independent cold read of the resulting code plus a
second-model pass, adjudicated against the recorded evidence. Round 0 found two
substantive problems, both fixed before this PR was opened; round 1 found one
nit. Summary below, findings first.

Round 0 (not published; the PR was held back)

❌ blocker -- ON CLUSTER is not covered, so the original changelog sentence
was false.
The first draft said SHOW COLUMNS "is now required", full stop.
An ON CLUSTER create dispatches through executeQueryOnCluster
(InterpreterCreateQuery.cpp:1936-1939) before any storage factory runs on the
initiator, and each worker rebuilds its context in DDLTaskBase::makeQueryContext
(DDLTask.cpp:309-330), which calls setUser only when
distributed_ddl_use_initial_user_and_roles is enabled -- and that server setting
defaults to false (ServerSettings.cpp:1106). With no user,
full_access = !user_id (Context.cpp:2288), which is this PR's own root cause
again. Resolved by scoping rather than by a second mechanism: the changelog
entry and the description now say the fix covers the non-ON CLUSTER CREATE and
name both the setting and #113073, which is where initiator-side validation
belongs. Adding a divergent preflight here would mean two mechanisms for one
invariant.

❌ major -- the pre-construction cluster lookup resolved a different cluster
than the constructor.
Found by not trusting an in-diff comment. The first
version passed the raw argument to getCluster while the constructor resolves the
macro-expanded member. Context::tryGetCluster performs three lookups and only
two of them expand internally: Clusters::getCluster (Cluster.cpp:341-348) and
ClusterDiscovery::getCluster (ClusterDiscovery.cpp:805-813) do,
tryGetReplicatedDatabaseCluster (DDLTask.cpp:782-799) does not -- and it is the
only way a Replicated database's implicit cluster resolves. So a columns-less
Distributed('{macro}', ...) naming a Replicated database worked before and
threw CLUSTER_DOESNT_EXIST after. Fixed by expanding before the lookup, and
proven empirically: the pre-fix form throws Code: 701, the fixed form infers the
columns, with two control arms (explicit column list, and the expanded literal
cluster name) showing the failure was specific to the raw-name lookup rather than
to the fixture. Both halves of that shape exist in the test suite but are never
combined with an omitted column list, which is why the regression list and 50
randomized runs were green either way.

Round 1 (this revision)

⚠️ nit -- the deny assertions accept any access error. Raised by both the cold
read and the second model, independently. The test greps
ACCESS_DENIED|Not enough privileges, so it does not pin that the target's
SHOW COLUMNS privilege is what carries the contract; a future change that denied
either create for a different reason would keep the test green. Noted, not fixed.
Nothing is blind today: on the pristine binary both deny cases print 0 and the
"nothing was created" counter flips, so the test does redden on revert, and the
fixed binary's denial message is specifically
SHOW COLUMNS ON <db>.protected_target. Case 3 additionally pins that the
requirement did not widen to SELECT/INSERT.

One cold finding dropped after reading the evidence

I flagged the temporary-table case (case 4) as a possibly vacuous oracle:
getRequiredAccess demands CREATE ARBITRARY TEMPORARY TABLE for a non-Memory
temporary engine (InterpreterCreateQuery.cpp:2977-2982) and that check runs
before the engine creator, so the generic grep could have been matching a
pre-engine denial that would fire on unpatched master too. The mutation arm had
already been run and refutes it: on pristine master case 4 prints 0, i.e. the
temporary path leaked as well, so the implicit grant from CREATE TABLE on the
database does fire and the case reaches the engine. My read was the shallower one.

Verdicts this revision: 3 agreed, 0 disagreed, 2 dropped. The reviewer made no
source edits (enforced by a pre/post fingerprint of the working tree).

@groeneai

groeneai commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes, 100% reproducible, not a rate-based flake. Single node, a cluster with a local shard, and a user holding CREATE TABLE on its own database plus TABLE ENGINE ON Distributed but no rights on the target: CREATE TABLE db.d ENGINE = Distributed('test_shard_localhost', 'db', 'protected_target') succeeds and exposes the target's columns, while DESCRIBE db.protected_target is denied. is_local = 1 was asserted from system.clusters before every verdict, since a non-local shard would skip the check and make the whole repro vacuous.
b Root cause explained? Yes. With the column list omitted, StorageDistributed's constructor infers the structure using its own context, which is the global one (the storage outlives any query context). A global context has no user, so full_access = !user_id and the SHOW_COLUMNS check in getStructureOfRemoteTableInShard becomes a no-op for a local shard. Since Distributed sets supports_schema_inference, the columns-less CREATE is accepted and reaches that inference. The check is correct and in the right place; it was handed a context that cannot enforce it.
c Fix matches root cause? Yes. The inference moves to the one layer where the user context exists (registerStorageDistributed, via args.getLocalContext()), which is where the sibling Remote engine already does it. No new check, no new setting, no guard added at the symptom, no defensive plumbing.
d Test intent preserved / new tests added? New test 04715_distributed_infer_columns_access with five cases. No existing test weakened or removed. Case 2 asserts inference still produces the right columns once SHOW COLUMNS is granted, so the test cannot pass on a fix that merely broke inference; case 3 asserts explicit column lists stay allowed.
e Both directions demonstrated? Yes. Same fixture, same server config, only the binary differing: the test FAILS on pristine master and PASSES with the fix. The failure is diagnostic, three assertions move: the create is not rejected, a table is created (the disclosure), and the temporary-table path leaks too. Build IDs were compared against the running server at every arm.
f Fix is general across code paths? Yes, enumerated exhaustively. All four callers of getStructureOfRemoteTable: the constructor (the defect, now the loading path only), registerStorageDistributed (fixed), registerStorageRemote (already correct, the model), TableFunctionRemote (query context, has a user). All five StorageFactory::get entry points: ordinary CREATE (fixed), both temporary-table creators (same creator and same argument shape, so covered by the same change; one is tested), metadata load (deliberately excluded by the guard), and SYSTEM RESTART REPLICA (unreachable for Distributed, which is not a StorageReplicatedMergeTree). StorageMerge already performs this check under the creator-supplied user context. StorageBuffer has the same shape and is left to a separate change, since it is a different engine and a different root cause. Explicitly not covered: an ON CLUSTER CREATE dispatches through executeQueryOnCluster before any StorageFactory::get runs on the initiator, and each worker rebuilds its context without a user unless distributed_ddl_use_initial_user_and_roles is enabled (it defaults to false), so the check is still a no-op on that path. Closing it needs initiator-side validation, the mechanism #113073 introduces for Remote/RemoteSecure/QueryRunner/Merge. The changelog entry and description are scoped accordingly.
g Fix generalizes across inputs (params/datatypes/wrappers)? Yes, measured. Denial is type-independent and inference stays byte-faithful across UInt64, Nullable(String), LowCardinality(String), LowCardinality(Nullable(String)), Array(UInt32), Map(String, UInt64), Tuple(x UInt8, y String), Decimal(18, 4), DateTime64(6), plus DEFAULT, MATERIALIZED and ALIAS column kinds. Also covered: the 3-, 4- and 5-argument engine forms, currentDatabase() as the database argument, an empty database name, a nonexistent target (UNKNOWN_TABLE, no leak), and a target in a database the user has no rights on at all.
h Backward compatible? A previously accepted CREATE now fails for users lacking SHOW COLUMNS on the target, which is the intended fix. It is the narrowest privilege available: weaker than the SELECT plus INSERT that Remote already requires, and implied by SELECT, so any user who can read the target is unaffected. Explicit column lists, default-user creates, metadata loading and short ATTACH are all unchanged. An ON CLUSTER CREATE is also unchanged, because the new check never runs with a user on that path (see row f), so no existing ON CLUSTER deployment starts failing. No setting changes, so no SettingsChangesHistory.cpp entry; no format or serialization change, so no versioning or upgrade path.
i Invariants and contracts preserved? The inference now runs before the storage object exists, so a denial fails the CREATE with nothing to unwind, matching the existing behavior for Remote. Error paths are the pre-existing shapes (ACCESS_DENIED, UNKNOWN_TABLE, NO_REMOTE_SHARD_AVAILABLE), all before construction. StorageDistributed still stores only the global context, so no query-lifetime context is captured by an object that outlives it. Cluster resolution matches the constructor's: the name is macro-expanded before the lookup, because only two of the three lookups Context::tryGetCluster performs expand internally, and a Replicated database's implicit cluster resolves through the third, which does not. No new shared state and no new locks.

Session id: cron:clickhouse-impl-slot-45:20260803-222900

@groeneai

groeneai commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

cc @azat @pufit, could you review this? A columns-less ENGINE = Distributed(...) had its structure inferred by the storage constructor, which holds only the global context, so the local-shard SHOW_COLUMNS check in getStructureOfRemoteTableInShard ran with full_access = !user_id and disclosed a target the creator could not DESCRIBE; the inference now happens in the creator under args.getLocalContext(), as the sibling Remote engine already does.

@PedroTadim PedroTadim added the can be tested Allows running workflows for external contributors label Aug 4, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [6213d92]

Summary: ✅


AI Review

Summary

This PR moves omitted-schema inference for Distributed tables from the storage constructor into registerStorageDistributed, which fixes the ordinary-database CREATE TABLE ... ENGINE = Distributed(...) leak by running the SHOW COLUMNS check under the creator's context. I found one remaining contract gap: the same columns-less create inside an ENGINE = Replicated database still executes through replicated DDL without any user in the query context, so the access check remains a no-op there.

PR Metadata
  • Changelog category is correct.
  • Changelog entry is too broad. A CREATE TABLE in an ENGINE = Replicated database is still not covered, because the replicated DDL path never reaches registerStorageDistributed with a real user. Suggested replacement: Fixed a case where CREATE TABLE ... ENGINE = Distributed(...) without a column list could reveal the structure of a local table in ordinary databases when the creating user lacked SHOW COLUMNS on the target. The omitted structure is now inferred under the creator's context for non-replicated, non-ON CLUSTER CREATE statements, as it already is for the Remote engine.
Findings

⚠️ Majors

  • [src/Storages/StorageDistributed.cpp:2225] The new inference still depends on args.getLocalContext() carrying a user, but CREATE TABLE inside an ENGINE = Replicated database is replayed through DatabaseReplicatedTask::makeQueryContext, which inherits DDLTaskBase::makeQueryContext and only calls setUser when DDLLogEntry.initiator_user is populated. DatabaseReplicated::tryEnqueueReplicatedDDL never populates those fields, so Context::getAccess() falls back to full_access = !user_id again and the same schema leak remains on replicated databases.
    Suggested fix: validate omitted-schema Distributed definitions on the initiator before enqueueing replicated DDL, or serialize the initiator user and roles for replicated DDL and ensure this path runs under them by default. If neither is in scope, narrow the PR contract and changelog to ordinary databases only.
Final Verdict

Changes requested.

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.40% 86.50% +0.10%
Functions 91.90% 91.90% +0.00%
Branches 78.70% 78.70% +0.00%

Changed lines: Changed C/C++ lines covered: 17/19 (89.47%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Aug 4, 2026
/// local shard is not made against the global context the constructor holds. Skipped when the
/// definition comes from already-validated metadata, which has no user to check against.
ColumnsDescription columns = args.columns;
if (columns.empty() && !(isLoadingFromExistingMetadata(args.mode) || args.query.attach_short_syntax))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

args.getLocalContext() only carries the creator's access rights here for ordinary databases. A CREATE TABLE inside an ENGINE = Replicated database is replayed through DatabaseReplicatedTask::makeQueryContext (src/Interpreters/DDLTask.cpp:690), which inherits DDLTaskBase::makeQueryContext and only calls setUser when DDLLogEntry.initiator_user is present (src/Interpreters/DDLTask.cpp:309-330). Unlike executeDDLQueryOnCluster, DatabaseReplicated::tryEnqueueReplicatedDDL never fills initiator_user or initiator_user_roles (src/Databases/DatabaseReplicated.cpp:1474-1481), so Context::getAccess() falls back to full_access = !user_id again (src/Interpreters/Context.cpp:2291).

That means the same columns-less Distributed create is still accepted in replicated databases without SHOW COLUMNS, even though it is not an explicit ON CLUSTER query. We either need initiator-side validation before the replicated DDL is enqueued, or the PR contract/changelog narrowed to ordinary databases only.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed, and it is worse than stated. I verified the four hops and then measured it.

Source: DatabaseReplicatedTask::makeQueryContext does inherit the base (DDLTask.cpp:689); setUser is guarded by preserve_user && !entry.initiator_user.empty() (:310, :330); tryEnqueueReplicatedDDL fills query, initiator, settings, tracing, initial_query_id, is_backup_restore and no initiator identity (DatabaseReplicated.cpp:1474-1481), unlike executeDDLQueryOnCluster.cpp:195-199; and full_access = !user_id at Context.cpp:2287. The replay's from_context is the DDLWorker's copy of the database context (DDLWorker.cpp:104, :575), which has no user.

Measured on a single node with an embedded Keeper: a restricted user with CREATE TABLE on its own databases plus TABLE ENGINE ON Distributed and no SHOW COLUMNS on the target. In an ordinary database the columns-less create is denied naming SHOW COLUMNS ON default.protected_target; inside a Replicated database the same create succeeds and persists the target's real columns. Raising distributed_ddl_use_initial_user_and_roles does not close it, since the missing field is the one the guard tests.

Two corrections to the direction you gave. First, distributed_ddl_use_initial_user_and_roles is not sufficient for ON CLUSTER either: initiator_user is only serialized at version >= INITIATOR_USER_VERSION = 8 (DDLTask.cpp:180-183) while distributed_ddl_entry_format_version defaults to 5, so the field is absent and the second conjunct fails regardless of the setting. With the setting on and the version raised to 8, the ON CLUSTER denial does fire; the Replicated path still does not. Second, the right framing is not ON CLUSTER plus a special case but "anything replayed from the DDL queue", which is how the description now reads.

Taking your first option. Initiator-side validation for the queue paths is the wider question of authorizing replicated DDL, and widening this PR into it mid-review is not the right move; it belongs with the mechanism #113073 introduces. The changelog and the scope paragraph now say the fix covers a CREATE the local server executes itself, and name both queue paths as uncovered, with the version gate stated. No code change.

No test case for this: a stateless test cannot create a Replicated database, since it needs Keeper and an interserver_http_port.

@groeneai

groeneai commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 6213d92

CI is fully finished on this head: 175 checks reported, 153 success, 22 skipped, 0 failures.
No failure needs an owner on this run.

Check / test Reason Owner / fixing PR
(none) - -

Session id: cron:our-pr-ci-monitor:20260804-120000

@PedroTadim PedroTadim self-assigned this Aug 6, 2026
@PedroTadim
PedroTadim added this pull request to the merge queue Aug 7, 2026
Merged via the queue into ClickHouse:master with commit a030cdd Aug 7, 2026
181 checks passed
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 7, 2026
@PedroTadim PedroTadim added pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-critical-bugfix labels Aug 7, 2026
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Aug 7, 2026
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Aug 7, 2026
alexey-milovidov added a commit that referenced this pull request Aug 7, 2026
…e-function branch

Master commit a030cdd (#113220) added an inference of an omitted structure
under the user's context for the classic `(db, table)` form of `Distributed`,
declaring a local `columns` copy before the shared constructor call. This
branch already declares such a copy earlier, for the table-function target
branch, so the automatic merge produced a redefinition in the same scope.

Keep the early declaration and gate the classic-form inference on the target
not being a table function: a table-function target infers its columns in its
own branch, and `remote_database` / `remote_table` are empty for it.

All 16 tests of this PR and the new `04715_distributed_infer_columns_access`
from #113220 pass locally.

Co-Authored-By: Claude Fable 5 <[email protected]>
clickhouse-gh Bot added a commit that referenced this pull request Aug 7, 2026
Backport #113220 to 26.6: Infer an omitted Distributed structure under the user's context
PedroTadim added a commit that referenced this pull request Aug 7, 2026
Backport #113220 to 26.5: Infer an omitted Distributed structure under the user's context
PedroTadim added a commit that referenced this pull request Aug 7, 2026
Backport #113220 to 26.3: Infer an omitted Distributed structure under the user's context
clickhouse-gh Bot pushed a commit that referenced this pull request Aug 7, 2026
clickhouse-gh Bot added a commit that referenced this pull request Aug 7, 2026
Backport #113220 to 26.7: Infer an omitted Distributed structure under the user's context
PedroTadim added a commit that referenced this pull request Aug 7, 2026
Backport #113220 to 25.8: Infer an omitted Distributed structure under the user's context
alexey-milovidov added a commit that referenced this pull request Aug 8, 2026
…e from legacy column-less metadata

After #113220, a plain `CREATE` infers the omitted structure under the user's
context and `addColumnsDescriptionToCreateQueryIfNecessary` persists the inferred
columns into the stored definition, so the `CREATE`-based tests no longer reach
the constructor's global-context structure fetch. The remaining zero-version path
is a column-less definition loaded from metadata written by an older server
version, which `DatabaseOnDisk::createTableFromAST` deliberately loads with empty
columns. The new test simulates such legacy metadata by stripping the persisted
column list while the table is detached; before the fix in
`getStructureOfRemoteTable` the re-`ATTACH` failed with the logical error
`Sending a distributed query with unknown (zero) client version`.
StorageID{remote_database, remote_table},
local_context,
/* table_func_ptr = */ nullptr);
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PedroTadim please move getStructureOfRemoteTable that we have in ctor to this method as well

@groeneai groeneai added the groeneai-origin-follow-up PR origin: groeneai's own out-of-scope finding during its PR work label Aug 19, 2026
VighneshPath pushed a commit to VighneshPath/ClickHouse that referenced this pull request Aug 24, 2026
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Aug 24, 2026
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Aug 24, 2026
VighneshPath pushed a commit to VighneshPath/ClickHouse that referenced this pull request Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors groeneai-origin-follow-up PR origin: groeneai's own out-of-scope finding during its PR work pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-bugfix Pull request with bugfix, not backported by default pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants