Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #641 by using the svv_mv_info view which is queryable #647

Merged
merged 7 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20231026-164623.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fix describe_materialized_view for Redshift Serverless
time: 2023-10-26T16:46:23.253837-06:00
custom:
Author: reptillicus
Issue: "641"
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
tb.sortkey1,
mv.autorefresh
from svv_table_info tb
left join stv_mv_info mv
on mv.db_name = tb.database
and mv.schema = tb.schema
left join svv_mv_info mv
dbeatty10 marked this conversation as resolved.
Show resolved Hide resolved
on mv.database_name = tb.database
and mv.schema_name = tb.schema
and mv.name = tb.table
where tb.table ilike '{{ relation.identifier }}'
and tb.schema ilike '{{ relation.schema }}'
Expand Down