Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/11809#discussion_r57090137 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Expression.scala --- @@ -80,6 +80,12 @@ abstract class Expression extends TreeNode[Expression] { def nullable: Boolean + /** + * Indicates whether this expression is null intolerant. If this is true, + * then any null input will result in null output). + */ + def nullIntolerant: Boolean = true --- End diff -- Also, I think its better to do it with a `trait` since then you can use InteliJ to list all the instances.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org