Skip to content

Conversation

@dr-kd
Copy link

@dr-kd dr-kd commented Sep 10, 2021

This PR allows oracle's materialised views to be ingested as views by Schema::Loader.

TODO: Nothing done so far to ensure the correct DDL is emitted - and with oracle's refresh scheduling statement too

I'd like some guidance about if this is the correct approach, and where I should look to get the view_definition to ingest the fuller materialised view ddl statement for example:

create materialized view mv_alternatives
refresh next trunc(sysdate + 1) + 6/24
as
    select  alts.identifier,
            count(*) as alternatives
    from    (
                select distinct(identifier) from item_alternate
                union all
                select distinct(identifier) from item_replacement
            ) alts
    group by alts.identifier

…ploy part of the problem is unsolved as is oracle's schedule declaration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant