Skip to content

Commit 78055fe

Browse files
alambjonahgao
andauthored
Minor: fix SQLOptions::with_allow_ddl comments (#11166)
* Minor: fix SQLOptions::with_allow_ddl comments * fix * Update datafusion/core/src/execution/context/mod.rs Co-authored-by: Jonah Gao <[email protected]> --------- Co-authored-by: Jonah Gao <[email protected]>
1 parent d19487c commit 78055fe

File tree

1 file changed

+2
-2
lines changed
  • datafusion/core/src/execution/context

1 file changed

+2
-2
lines changed

datafusion/core/src/execution/context/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,13 +1490,13 @@ impl SQLOptions {
14901490
Default::default()
14911491
}
14921492

1493-
/// Should DML data modification commands (e.g. `INSERT and COPY`) be run? Defaults to `true`.
1493+
/// Should DDL data definition commands (e.g. `CREATE TABLE`) be run? Defaults to `true`.
14941494
pub fn with_allow_ddl(mut self, allow: bool) -> Self {
14951495
self.allow_ddl = allow;
14961496
self
14971497
}
14981498

1499-
/// Should DML data modification commands (e.g. `INSERT and COPY`) be run? Defaults to `true`
1499+
/// Should DML data modification commands (e.g. `INSERT` and `COPY`) be run? Defaults to `true`
15001500
pub fn with_allow_dml(mut self, allow: bool) -> Self {
15011501
self.allow_dml = allow;
15021502
self

0 commit comments

Comments
 (0)