Abdulrehman-PIAIC80387 commented on issue #40289: URL: https://github.com/apache/superset/issues/40289#issuecomment-5189883853
Thanks @manyyy for the fix pointer — traced this back to [#38280](https://github.com/apache/superset/pull/38280) (Feb 2026), which removed a `_mutate_label` override on the ClickHouse spec that used to suffix every column alias with a 6-char hash (`create_time` → `create_time_b16a62`). Turns out that suffix was the specific workaround guarding against the alias-vs-subquery-column collision that ClickHouse 25.3+'s aggregate checker now rejects with Code 215. Sending PR #42793 that restores the override on `ClickHouseBaseEngineSpec` — byte-for-byte identical to the removed code. Localized one-method change, no signature changes, no cross-engine ripple. Full trace + rejected alternatives in the PR body. CC @cpassnat @cizara — this should also fix your reproductions since you both hit the same failure mode on virtual/wrapped datasets. Would appreciate testing against your ClickHouse setups once it lands. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
