Data connectivity & integrationPipeline Builder ExpressionsLess than

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: left
  • Right: right
leftrightOutput
[ {
field1: a,
field2: aa,
} ]
[ {
field1: b,
field2: bb,
} ]
true

Example 4: Null case

Argument values:

  • Left: left
  • Right: right
leftrightOutput
nullbnull
bnullnull
nullnullnull