Skip to content

Commit 13cff9c

Browse files
committed
Update parser with SECURE keyword for views
1 parent 181a132 commit 13cff9c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ recursive = "0.1.1"
164164
regex = "1.8"
165165
rstest = "0.24.0"
166166
serde_json = "1"
167-
sqlparser = { git = "https://github.com/Embucket/datafusion-sqlparser-rs.git", rev = "4a91f2fd6af1b6d413621949e724c55c34f8a29b", features = [
167+
sqlparser = { git = "https://github.com/Embucket/datafusion-sqlparser-rs.git", rev = "8d9cbc2669d7fc3d79d7d1d725ac20f1e9bfe10e", features = [
168168
"visitor",
169169
] }
170170
tempfile = "3"

datafusion/sql/src/statement.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
536536
temporary,
537537
to,
538538
params,
539+
secure,
539540
} => {
540541
if materialized {
541542
return not_impl_err!("Materialized views not supported")?;
@@ -572,6 +573,7 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
572573
temporary,
573574
to,
574575
params,
576+
secure,
575577
};
576578
let sql = stmt.to_string();
577579
let Statement::CreateView {

0 commit comments

Comments
 (0)