Crash with old analyzer if JOIN and duplicated aliases#96405
Crash with old analyzer if JOIN and duplicated aliases#96405vdimir merged 5 commits intoClickHouse:masterfrom
Conversation
|
Query gets although gets This fact indicates that pipeline is broken (result columns and their types cannot be different because result is estimated based on subqueries) and a very similar query causes application crash. Let me know if it is Ok to share such query in public. In release version it is actual crash, in debug it looks like |
|
If I am right that editing PR titles is prohibited (why?), |
|
Workflow [PR], commit [164d3ed] Summary: ❌
|
There was a problem hiding this comment.
Thanks for the PR!
Let me know if it is Ok to share such query in public.
That is okay, you may add it as a test case if you want.
I'm not quite sure if we can back-port the change since the old analyzer is deprecated. If this fix is crucial for you, could you share what prevents you from migrating to the new one? Are there any particular issues?
https://fiddle.clickhouse.com/19146386-c660-45be-b2bf-89512d07568e
It is deprecated, though it is available for customers of public clouds, so technically it is a CVE.
The reasons vary from a customer to another. |
|
Integration test failure does not seem related. |
f9e36b0
Cherry pick #96405 to 25.3: Crash with old analyzer if JOIN and duplicated aliases
Cherry pick #96405 to 25.8: Crash with old analyzer if JOIN and duplicated aliases
Cherry pick #96405 to 25.11: Crash with old analyzer if JOIN and duplicated aliases
Cherry pick #96405 to 25.12: Crash with old analyzer if JOIN and duplicated aliases
Cherry pick #96405 to 26.1: Crash with old analyzer if JOIN and duplicated aliases
Backport #96405 to 25.8: Crash with old analyzer if JOIN and duplicated aliases
Backport #96405 to 26.1: Crash with old analyzer if JOIN and duplicated aliases
Crash with old analyzer if JOIN and duplicated aliases
…14/96405 24.8.14 Stable backport of ClickHouse#96405: Crash with old analyzer if JOIN and duplicated aliases
Crash with old analyzer if JOIN and duplicated aliases
Backport #96405 to 25.12: Crash with old analyzer if JOIN and duplicated aliases
Crash with old analyzer if JOIN and duplicated aliases
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixed crash in old analyzer if JOIN and duplicated aliases