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
createviewworksas (
(
select*from foo
where close =1and ticker = {arg:String}
)
)
Does not work:
createviewissueas (
(
select*from foo
where close =1and ticker = {arg:String}
) UNION ALL (
select*from foo
where close =2and ticker = {arg:String}
)
)
CREATEVIEWissueASSELECT*FROM foo
WHERE (close =1) AND (ticker = {arg:String})
UNION ALLSELECT*FROM foo
WHERE (close =2) AND (ticker = {arg:String})
Query id: 0e544b71-54c0-4eb3-8948-9bb27759b680
0 rows inset. Elapsed: 0.002 sec.
Received exception from server (version 23.4.2):
Code: 456. DB::Exception: Received from localhost:9000. DB::Exception: Query parameter `arg` was not set. (UNKNOWN_QUERY_PARAMETER)
The text was updated successfully, but these errors were encountered:
Describe the unexpected behaviour
Cannot create parameterized view with union all clauses
How to reproduce
Works:
Does not work:
The text was updated successfully, but these errors were encountered: