You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by jo...@apache.org on 2024/06/30 11:57:35 UTC
(datafusion) branch main updated: Minor: fix SQLOptions::with_allow_ddl comments (#11166)
This is an automated email from the ASF dual-hosted git repository.
jonah pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 78055fe13b Minor: fix SQLOptions::with_allow_ddl comments (#11166)
78055fe13b is described below
commit 78055fe13b64cdfb4accd131e9a462770c21a934
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Sun Jun 30 07:57:30 2024 -0400
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 <jo...@msn.com>
---------
Co-authored-by: Jonah Gao <jo...@msn.com>
---
datafusion/core/src/execution/context/mod.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/datafusion/core/src/execution/context/mod.rs b/datafusion/core/src/execution/context/mod.rs
index 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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org