alamb commented on code in PR #8377:
URL: https://github.com/apache/arrow-datafusion/pull/8377#discussion_r1411183488
##########
datafusion/physical-expr/src/analysis.rs:
##########
@@ -111,6 +115,22 @@ impl ExprBoundaries {
distinct_count: col_stats.distinct_count.clone(),
})
}
+
+ /// Create `ExprBoundaries` that represent no known bounds for all the
columns `schema`
+ pub fn try_new_unknown(schema: &Schema) -> Result<Vec<Self>> {
Review Comment:
This was added to make the demo easier to write (I ported it from upstream)
##########
datafusion/physical-expr/src/analysis.rs:
##########
@@ -111,6 +115,22 @@ impl ExprBoundaries {
distinct_count: col_stats.distinct_count.clone(),
})
}
+
+ /// Create `ExprBoundaries` that represent no known bounds for all the
columns `schema`
+ pub fn try_new_unknown(schema: &Schema) -> Result<Vec<Self>> {
Review Comment:
This was added to make the demo easier to write (I ported it from IOx
downstream)
--
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]