We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e6d31 commit d6a3e22Copy full SHA for d6a3e22
datafusion/src/optimizer/simplify_expressions.rs
@@ -405,7 +405,8 @@ impl<'a> Simplifier<'a> {
405
/// Returns true if expr is nullable
406
fn nullable(&self, expr: &Expr) -> Result<bool> {
407
for schema in &self.schemas {
408
- if expr.nullable(schema.as_ref())? {
+ // expr may be from another input
409
+ if expr.nullable(schema.as_ref()).unwrap_or(false) {
410
return Ok(true);
411
}
412
0 commit comments