-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): Add Create subscription in frontend (#14831)
- Loading branch information
Showing
53 changed files
with
1,727 additions
and
121 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
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
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,47 @@ | ||
statement ok | ||
create table ddl_t (v1 int); | ||
|
||
statement ok | ||
create materialized view ddl_mv as select v1 from ddl_t; | ||
|
||
statement ok | ||
create subscription ddl_subscription_table from ddl_t with(retention = '1D'); | ||
|
||
statement ok | ||
create subscription ddl_subscription_mv from ddl_mv with(retention = '1D'); | ||
|
||
statement error | ||
create subscription ddl_subscription_table from ddl_t with(retention = '1D'); | ||
|
||
statement error | ||
create subscription ddl_subscription_mv from ddl_mv with(retention = '1D'); | ||
|
||
statement ok | ||
create subscription if not exists ddl_subscription_table from ddl_t with(retention = '1D'); | ||
|
||
statement ok | ||
create subscription if not exists ddl_subscription_mv from ddl_mv with(retention = '1D'); | ||
|
||
statement ok | ||
drop subscription ddl_subscription_table; | ||
|
||
statement ok | ||
drop subscription ddl_subscription_mv; | ||
|
||
statement error | ||
drop subscription ddl_subscription_table; | ||
|
||
statement error | ||
drop subscription ddl_subscription_mv; | ||
|
||
statement ok | ||
drop subscription if exists ddl_subscription_table; | ||
|
||
statement ok | ||
drop subscription if exists ddl_subscription_mv; | ||
|
||
statement ok | ||
drop materialized view ddl_mv; | ||
|
||
statement ok | ||
drop table ddl_t; |
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
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
Oops, something went wrong.