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
Alias columns in view do not work in some contexts #28687
:) create view alias (dummy int, n alias dummy) as select * from system.one
:) select n from alias
┌─n─┐
│ 0 │
└───┘
1 rows in set. Elapsed: 0.015 sec.
:) select * from alias where n=0
Received exception from server (version 21.10.1):
Code: 47. DB::Exception: Received from localhost:9000. DB::Exception: Missing columns: 'n' while processing query: 'SELECT dummy FROM system.one WHERE n = 0', required columns: 'dummy' 'n', maybe you meant: ['dummy']. (UNKNOWN_IDENTIFIER)
Activity
alexey-milovidov commentedon Oct 25, 2022
@kitaisreal said it will start working in #31796
Close: #28687