(
scx: &'a StatementContext<'a>,
from: Option<ResolvedSchemaName>,
filter: Option<ShowStatementFilter<Aug>>,
)
| 552 | } |
| 553 | |
| 554 | fn show_views<'a>( |
| 555 | scx: &'a StatementContext<'a>, |
| 556 | from: Option<ResolvedSchemaName>, |
| 557 | filter: Option<ShowStatementFilter<Aug>>, |
| 558 | ) -> Result<ShowSelect<'a>, PlanError> { |
| 559 | let schema_spec = scx.resolve_optional_schema(&from)?; |
| 560 | let query = format!( |
| 561 | "SELECT name, comment |
| 562 | FROM mz_internal.mz_show_views |
| 563 | WHERE schema_id = '{schema_spec}'" |
| 564 | ); |
| 565 | ShowSelect::new(scx, query, filter, None, Some(&["name", "comment"])) |
| 566 | } |
| 567 | |
| 568 | fn show_materialized_views<'a>( |
| 569 | scx: &'a StatementContext<'a>, |
no test coverage detected