Package io.trino.sql.planner
Class NullabilityAnalyzer
java.lang.Object
io.trino.sql.planner.NullabilityAnalyzer
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmayReturnNullOnNonNullInput(Expression expression) TODO: this currently produces a very conservative estimate.
-
Method Details
-
mayReturnNullOnNonNullInput
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.
-