Apache DataFusion SQL Query Engine
Minor: fix SQLOptions::with_allow_ddl comments (#11166)
Andrew Lamb78055fe13b64
diff --git a/datafusion/core/src/execution/context/mod.rs b/datafusion/core/src/execution/context/mod.rsindex 9ec0148d91..012717a007 100644--- a/datafusion/core/src/execution/context/mod.rs+++ b/datafusion/core/src/execution/context/mod.rs@@ -1490,13 +1490,13 @@ impl SQLOptions {Default::default()}- /// Should DML data modification commands (e.g. `INSERT and COPY`) be run? Defaults to `true`.+ /// Should DDL data definition commands (e.g. `CREATE TABLE`) be run? Defaults to `true`.pub fn with_allow_ddl(mut self, allow: bool) -> Self {self.allow_ddl = allow;self}- /// Should DML data modification commands (e.g. `INSERT and COPY`) be run? Defaults to `true`+ /// Should DML data modification commands (e.g. `INSERT` and `COPY`) be run? Defaults to `true`pub fn with_allow_dml(mut self, allow: bool) -> Self {self.allow_dml = allow;self