tustvold commented on code in PR #4721:
URL: https://github.com/apache/arrow-datafusion/pull/4721#discussion_r1056683926
##########
datafusion/core/src/execution/context.rs:
##########
@@ -492,6 +497,15 @@ impl SessionContext {
}
}
+ /// Creates a [`DataFrame`] that will execute the specified
+ /// LogicalPlan, but will error if the plans represent DDL such as
+ /// `CREATE TABLE`
+ ///
+ /// Use [`Self::dataframe`] to run plans with DDL
+ pub fn dataframe_without_ddl(&self, plan: LogicalPlan) ->
Result<DataFrame> {
Review Comment:
This appears to just be DataFrame new, do we really need this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]