Skip to content

Conversation

@canbekley
Copy link
Contributor

Summary

Previously, table and view materializations wouldn't work with a Replicated database configured, as they would run ON CLUSTER statements for some of the ddl's. This is not allowed in replicated databases and would lead to the following error:

DB::Exception: It's not initial query. ON CLUSTER is not allowed for Replicated database. (INCORRECT_QUERY) (version 24.11.1.2557 (official build)

This mr fixes these issues by adding conditions for on cluster statements with replicated databases.

Checklist

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided to include in CHANGELOG

@canbekley canbekley changed the title Fix/replicated database materializations fix: replicated database materializations Jan 13, 2025
@canbekley canbekley requested a review from BentsiLeviav March 5, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants