Package io.trino.sql.planner
Class NullabilityAnalyzer
- java.lang.Object
-
- io.trino.sql.planner.NullabilityAnalyzer
-
public final class NullabilityAnalyzer extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanmayReturnNullOnNonNullInput(Expression expression)TODO: this currently produces a very conservative estimate.
-
-
-
Method Detail
-
mayReturnNullOnNonNullInput
public static boolean mayReturnNullOnNonNullInput(Expression expression)
TODO: this currently produces a very conservative estimate. We need to narrow down the conditions under which certain constructs can return null (e.g., if(a, b, c) might return null for non-null a only if b or c can be null.
-
-