jayzhan211 commented on code in PR #6796:
URL: https://github.com/apache/arrow-datafusion/pull/6796#discussion_r1346620948
##########
datafusion/expr/src/logical_plan/builder.rs:
##########
@@ -1038,6 +1042,114 @@ impl LogicalPlanBuilder {
pub fn unnest_column(self, column: impl Into<Column>) -> Result<Self> {
Ok(Self::from(unnest(self.plan, column.into())?))
}
+
+ pub fn join_unnest_plans(
Review Comment:
We need `join` function for each unnested column. Otherwise, we get
something like (1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5), (3, null).
--
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]