fhueske commented on code in PR #29060:
URL: https://github.com/apache/flink/pull/29060#discussion_r3904609057


##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/GeneratedExpression.scala:
##########
@@ -56,6 +56,9 @@ case class GeneratedExpression(
    */
   def literal: Boolean = literalValue.isDefined
 
+  /** Whether this expression is statically proven never to be null at 
runtime. */
+  def isProvenNotNull: Boolean = nullTerm == GeneratedExpression.NEVER_NULL

Review Comment:
   Which expressions are proven not null at runtime if we do not trust the 
types?
   It would only be literals and expressions on literals, no?



-- 
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]

Reply via email to