Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ case class ScalaUDF(
udfName: Option[String] = None)
extends Expression with ImplicitCastInputTypes with NonSQLExpression {

// the user-defined functions must be deterministic.
final override def deterministic: Boolean = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, although we decided that this must be true, but should we override this explicitly? Is this for allowing further optimizations like predicate pushdown?


override def nullable: Boolean = true

override def toString: String =
Expand Down