Less than

Supported in: Batch, Streaming

Returns true if left is less than right.

Expression categories: Boolean

Declared arguments

  • Left - Left expression.
    Expression<ComparableType>
  • Right - Right expression.
    Expression<ComparableType>

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Left: left
  • Right: right
leftrightOutput
1.010true
10.01false

Example 2: Base case

Argument values:

  • Left: left
  • Right: right
leftrightOutput
abtrue
bafalse

Example 3: Null case

Argument values:

  • Left: a
  • Right: b
abOutput
nullnulltrue
1nullfalse
null1false