Skip to content

Revert "Resolve problems with paths and compatibility problems with Spark in Azure" - #100208

Merged
tavplubix merged 1 commit into
masterfrom
revert-99163-divanik/add_proper_spark_conf_for_azure_and_local
Mar 20, 2026
Merged

tavplubix merged 1 commit into
masterfrom
revert-99163-divanik/add_proper_spark_conf_for_azure_and_local

Conversation

@tavplubix

@tavplubix tavplubix commented Mar 20, 2026 •

Copy link
Copy Markdown
Member

Reverts #99163

cc @divanik

Version info

  • Merged into: 26.4.1.58

@clickhouse-gh

clickhouse-gh Bot commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [f0bf12d]

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 20, 2026
…spark_conf_for_azure_and_local"

This reverts commit c67ef70, reversing
changes made to 2d643ea.
@tavplubix
tavplubix force-pushed the revert-99163-divanik/add_proper_spark_conf_for_azure_and_local branch from c60626a to f0bf12d Compare March 20, 2026 17:50
@@ -1,270 +0,0 @@
import logging

from helpers.iceberg_utils import get_uuid_str

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.

Removing this interoperability test suite drops end-to-end coverage for ClickHouse↔Spark Iceberg compatibility. Even for a full revert, please keep equivalent coverage somewhere (or link a follow-up issue/PR that restores it), otherwise regressions in Azure/local Spark interoperability can go undetected.

@tavplubix
tavplubix enabled auto-merge March 20, 2026 18:20
@tavplubix
tavplubix added this pull request to the merge queue Mar 20, 2026
Merged via the queue into master with commit eef623a Mar 20, 2026
34 of 50 checks passed
@tavplubix
tavplubix deleted the revert-99163-divanik/add_proper_spark_conf_for_azure_and_local branch March 20, 2026 18:32
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 20, 2026
alexey-milovidov added a commit that referenced this pull request Mar 21, 2026
…hunk`

In `addRequestedFileLikeStorageVirtualsToChunk`, the `_row_number` handling
block uses `return` instead of `continue` after adding the column to the
chunk. This causes the function to exit the loop early, skipping any
remaining virtual columns (e.g. `_data_lake_snapshot_version`). When a
query requests both `_row_number` and another virtual column after it, the
chunk has fewer columns than expected, resulting in:
"Invalid number of columns in chunk pushed to OutputPort."

The fix was originally in #100116 but was lost during merge because
#100208 (revert of #99163) had reintroduced the `return` on master
after the fix branch had already resolved it via a different code structure.

The regression test `04050_iceberg_virtual_columns_return_bug` is already
on master from #100116.

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=100177&sha=f10711f066fd101124e088ce33061de51ebae0e9&name_0=PR&name_1=Stateless%20tests%20%28amd_debug%2C%20parallel%29

#87890

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@divanik

divanik commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

The reason of the revert was unsyncronized public and private repo, so nothing to be done before rerevert (I will assure that syncronization is correct this time)

divanik added a commit that referenced this pull request Mar 23, 2026
…ik/add_proper_spark_conf_for_azure_and_local"

This reverts commit eef623a, reversing
changes made to 8f93f9a.
arthurpassos pushed a commit to Altinity/ClickHouse that referenced this pull request May 13, 2026
…hunk`

In `addRequestedFileLikeStorageVirtualsToChunk`, the `_row_number` handling
block uses `return` instead of `continue` after adding the column to the
chunk. This causes the function to exit the loop early, skipping any
remaining virtual columns (e.g. `_data_lake_snapshot_version`). When a
query requests both `_row_number` and another virtual column after it, the
chunk has fewer columns than expected, resulting in:
"Invalid number of columns in chunk pushed to OutputPort."

The fix was originally in ClickHouse#100116 but was lost during merge because
ClickHouse#100208 (revert of ClickHouse#99163) had reintroduced the `return` on master
after the fix branch had already resolved it via a different code structure.

The regression test `04050_iceberg_virtual_columns_return_bug` is already
on master from ClickHouse#100116.

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=100177&sha=f10711f066fd101124e088ce33061de51ebae0e9&name_0=PR&name_1=Stateless%20tests%20%28amd_debug%2C%20parallel%29

ClickHouse#87890

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog 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.

3 participants