Skip to content

Regression in parameterized views (After parameters substitution of parameterized view ... the actual schema does not match the defined one) #97288

Description

@fm4v

Repro: https://fiddle.clickhouse.com/660aca3c-dd00-40e9-bcb6-8d52ab564cac
Works on 25.12: https://fiddle.clickhouse.com/779f794f-138b-4324-8285-95206183ba31

Caused by: #90220. This is a backward-incompatible change that should be properly covered with a compatibility setting.

Error:

Received exception from server (version 26.2.1):
Code: 53. DB::Exception: Received from localhost:9000. DB::Exception: After parameters substitution of parameterized view `03271_parametrized_v_expl_mismatch` the actual schema does not match the defined one. (TYPE_MISMATCH)
(query: SELECT *
FROM 03271_parametrized_v_expl_mismatch(upper_bound = 3); )

Does it reproduce on the most recent release?

Yes

Version info

Activity

  1. added
    potential bug
    bug
    and removed
    potential bug
    on Feb 18, 2026
  2. fm4v commented on Feb 18, 2026

    @fm4v
    MemberAuthor

    @GSokol for some reason I can't assign it to you, I'm going to revert this PR

  3. changed the title [-]Regression in parametrized views access (After parameters substitution of parameterized view ... the actual schema does not match the defined one)[/-] [+]Regression in parametrized views access (`After parameters substitution of parameterized view ... the actual schema does not match the defined one`)[/+] on Feb 18, 2026
  4. changed the title [-]Regression in parametrized views access (`After parameters substitution of parameterized view ... the actual schema does not match the defined one`)[/-] [+]Regression in parameterized views (`After parameters substitution of parameterized view ... the actual schema does not match the defined one`)[/+] on Feb 18, 2026
  5. linked a pull request that will close this issueRevert "Show schema for parameterized_view" #97289on Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions