alamb commented on code in PR #16705:
URL: https://github.com/apache/datafusion/pull/16705#discussion_r2190383456
##
datafusion/expr/src/logical_plan/dml.rs:
##
@@ -89,6 +91,26 @@ impl Hash for CopyTo {
}
}
+impl CopyTo {
+pub fn new(
+input: Arc,
+ou
bert-beyondloops opened a new pull request, #16705:
URL: https://github.com/apache/datafusion/pull/16705
## Which issue does this PR close?
`Closes #16704`
## Rationale for this change
Schema of logical plan should be the same as the associated physical plan.