You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Not found column xxx in block. (NOT_FOUND_COLUMN_IN_BLOCK) version 22.9.2.7 #41964
CREATETABLEl (y String)Engine Memory;
CREATETABLEr (d Date, y String, ty UInt16 MATERIALIZED toYear(d)) Engine Memory;
select*from l L left join r R onL.y=R.ywhereR.ty>=2019
DB::Exception: Not found column ty in block. (NOT_FOUND_COLUMN_IN_BLOCK)
select*from l left join r onl.y=r.ywherer.ty>=2019
OK
try
SELECT*FROM ab_12_aaa
LEFT JOIN ab_12_bbb ON (ab_12_aaa.id=ab_12_bbb.id) AND (ab_12_bbb._year=ab_12_aaa._year)
WHEREab_12_bbb.theyear>=2019
Activity
seca-rca commentedon Sep 30, 2022
Maybe related: #3140
seca-rca commentedon Sep 30, 2022
Maybe related: #13274
den-crane commentedon Sep 30, 2022
There is no column
attrin both tables.seca-rca commentedon Sep 30, 2022
@den-crane Hello Denny, I corrected the example, please review one more time. Sorry for the mistake. Thanks.
den-crane commentedon Sep 30, 2022
Right, because of aliased tables.
try
alexey-milovidov commentedon Mar 28, 2023
Proven to be fixed by Analyzer.
This issue is waiting when the Analyzer will be enabled by default.
Close: #41964