-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: create view nested query (#2637)
closes #2636
- Loading branch information
1 parent
c9cc53c
commit 674cf2d
Showing
2 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
statement ok | ||
create schema create_view_schema; | ||
|
||
statement ok | ||
set search_path to create_view_schema; | ||
|
||
statement ok | ||
create view test as select 1 as a; | ||
|
||
statement ok | ||
CREATE VIEW view_yes_paren AS (SELECT 1); | ||
|
||
query I | ||
select * from view_yes_paren; | ||
---- | ||
1 | ||
|