Hi! I'm seeing parsing failures for Postgres queries that use the MATERIALIZED keyword.
Minimal repro in the format of a sqlparser-rs test:
#[test]
fn parse_mat_cte() {
let sql = r#"WITH cte AS MATERIALIZED ( select id from accounts ) select id from cte;"#;
pg().verified_stmt(sql);
let sql2 = r#"WITH cte AS NOT MATERIALIZED ( select id from accounts ) select id from cte;"#;
pg().verified_stmt(sql2);
}
I tested this on two versions, including the latest:
sqlparser = "0.43.1"
# sqlparser = "0.36.1"
Hi! I'm seeing parsing failures for Postgres queries that use the
MATERIALIZEDkeyword.Minimal repro in the format of a sqlparser-rs test:
I tested this on two versions, including the latest: