Tinybird engineers discovered two bugs in ClickHouse's experimental Alias table engine while testing it for use in their deployment routing system. The first bug involved incorrect DDL dependency tracking: when creating an alias without a fully-qualified table name, the dependency was recorded against the session database rather than the alias table's own database, breaking referential integrity checks. A one-line fix was shipped upstream. The second bug caused inserts through an Alias table to silently skip triggering materialized views downstream. Tinybird proposed a fix and collaborated with the core ClickHouse contributor to implement a solution covering multiple use cases.
Sort: