jayzhan211 commented on code in PR #6796:
URL: https://github.com/apache/arrow-datafusion/pull/6796#discussion_r1283876832
##########
datafusion/expr/src/expr.rs:
##########
@@ -931,6 +948,40 @@ impl Expr {
pub fn contains_outer(&self) -> bool {
!find_out_reference_exprs(self).is_empty()
}
+
+ pub fn flatten(&self) -> Self {
Review Comment:
Not exactly the opposite of unnest, we expect to get the 1D list of elements
in the nested array in this function.
--
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]