metesynnada commented on code in PR #5520:
URL: https://github.com/apache/arrow-datafusion/pull/5520#discussion_r1131560512
##########
datafusion/expr/src/logical_plan/builder.rs:
##########
@@ -203,6 +203,24 @@ impl LogicalPlanBuilder {
Self::scan_with_filters(table_name, table_source, projection, vec![])
}
+ /// Convert a logical plan into a builder with a [DmlStatement]
+ pub fn insert_into(
+ input: LogicalPlan,
+ table_name: impl Into<String>,
Review Comment:
I don't have complete knowledge about the PR at the moment, but I'll look
into it. Nevertheless, it's not a critical inclusion, so it can be readily
eliminated if necessary.
##########
datafusion/expr/src/logical_plan/builder.rs:
##########
@@ -203,6 +203,24 @@ impl LogicalPlanBuilder {
Self::scan_with_filters(table_name, table_source, projection, vec![])
}
+ /// Convert a logical plan into a builder with a [DmlStatement]
+ pub fn insert_into(
+ input: LogicalPlan,
+ table_name: impl Into<String>,
Review Comment:
I don't have complete knowledge about PR at the moment, but I'll look into
it. Nevertheless, it's not a critical inclusion, so it can be readily
eliminated if necessary.
--
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]