Skip to content

[PlSql] Updated create_materialized_view#4899

Open
Briseglace wants to merge 1 commit into
antlr:masterfrom
Briseglace:fix-4838
Open

[PlSql] Updated create_materialized_view#4899
Briseglace wants to merge 1 commit into
antlr:masterfrom
Briseglace:fix-4838

Conversation

@Briseglace

Copy link
Copy Markdown
Contributor

I updated the create_materialized_view rule using Oracle 26ai SQL Language Reference.

Here is a summary of the changes :

  • Added support for IF NOT EXISTS;
  • Added support for annotations in mv_column_alias;
  • Added support for evaluation_edition_clause;
  • Added support for QUERY COMPUTATION and CONCURRENT REFRESH;
  • Refactored and updated QUERY REWRITE;
  • Added support for annotations_clause;
  • Removed the optional FOR UPDATE since support ended with Oracle 12.2;
  • Updated create_mv_refresh :
    • Added support for ON STATEMENT;
    • Replaced rb_segment = REGULAR_ID by rollback_segment_name;
  • Added missing tests from the 26ai version of the SQL Language Reference.

Fixes #4838.

- Added support for IF NOT EXISTS;
- Added support for annotations in `mv_column_alias`;
- Added support for `evaluation_edition_clause`;
- Added support for QUERY COMPUTATION and CONCURRENT REFRESH;
- Refactored and updated QUERY REWRITE;
- Added support for `annotations_clause`;
- Removed the optional FOR UPDATE since support ended with Oracle 12.2;
- Updated `create_mv_refresh` :
    - Added support for ON STATEMENT;
    - Replaced `rb_segment = REGULAR_ID` by `rollback_segment_name`;
- Added missing tests from the 26ai version of the SQL Language Reference.

Fixes antlr#4838.
@KvanTTT KvanTTT added the plsql label Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[plsql] MATERIALIZED VIEW: mismatched input 'SYSDATE'

2 participants