Skip to content

Remove LIVE VIEW - #88706

Merged
Algunenano merged 5 commits into
masterfrom
remove-live-view
Oct 23, 2025
Merged

Algunenano merged 5 commits into
masterfrom
remove-live-view

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Oct 17, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Backward Incompatible Change

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

Remove the obsolete LIVE VIEW feature. If you use LIVE VIEW, upgrading to the new version will not be possible.

@clickhouse-gh

clickhouse-gh Bot commented Oct 17, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [5fe0a71]

Summary: ❌

job_name test_name status info comment
Integration tests (amd_tsan, 1/6) failure
test_storage_s3_queue/test_5.py::test_failed_startup FAIL cidb
Stress test (arm_asan) failure
Server died FAIL cidb
Hung check failed, possible deadlock found (see hung_check.log) FAIL cidb
Killed by signal (in clickhouse-server.log) FAIL cidb
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL cidb
Killed by signal (output files) FAIL cidb

@clickhouse-gh clickhouse-gh Bot added the pr-backward-incompatible Pull request with backwards incompatible changes label Oct 17, 2025
@Algunenano Algunenano self-assigned this Oct 17, 2025
@EmeraldShift

Copy link
Copy Markdown
Contributor

Is it still planned to implement an alternative, like "streaming queries" in the roadmap, this year?

@alexey-milovidov

Copy link
Copy Markdown
Member Author

Yes, we plan to implement streaming queries, but it's unlikely to happen this year.

@Algunenano

Copy link
Copy Markdown
Member

@Algunenano
Algunenano enabled auto-merge October 23, 2025 09:37
@Algunenano
Algunenano added this pull request to the merge queue Oct 23, 2025
Merged via the queue into master with commit f38748d Oct 23, 2025
@Algunenano
Algunenano deleted the remove-live-view branch October 23, 2025 09:53
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 23, 2025
@mbtolou

mbtolou commented Nov 29, 2025

Copy link
Copy Markdown

What is the alternative to "Live View"?

alexey-milovidov pushed a commit that referenced this pull request Aug 14, 2026
The experimental `WINDOW VIEW` feature is removed, following the same
path as the `LIVE VIEW` removal (PR #88706):

- `StorageWindowView`, `WindowViewSource`, `StorageBlocks` and
  `WatermarkTransform` are deleted together with the CREATE WINDOW VIEW
  parser, the WATCH statement (window views were its last implementor),
  the `windowID` function, and the WATCH, EVENTS, ALLOWED_LATENESS and
  STRICTLY_ASCENDING keywords.
- The settings `allow_experimental_window_view`,
  `window_view_clean_interval`, `window_view_heartbeat_interval` and
  `wait_for_window_view_fire_signal_timeout` are kept as obsolete no-ops.
- The `tumble`/`hop`/`tumbleStart`/`tumbleEnd`/`hopStart`/`hopEnd`
  functions are kept. The UInt32 single-argument forms of the
  bound-extraction functions, which only accepted `windowID` output, are
  removed. Their coverage from 01049_window_view_window_functions moved
  to 04891_time_window_functions.
- `QueryViewsLogElement::ViewType::WINDOW` and `ViewTarget::Inner` are
  kept so that old log tables and DDL log entries remain readable.
- Docs: the Window View section, the WATCH page, and its navigation
  entries are removed; the old-slug redirects are retargeted.

The feature has been non-functional since Dec 2024 (commit ceae84c
removed the view-dependency registration, issue #113493), was never
ported to the analyzer, and its tests were removed in PR #73822. A
server with a window view left in metadata will fail to load it: drop
window views before upgrading.

Related: #114738

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

Labels

pr-backward-incompatible Pull request with backwards incompatible changes 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