Greater than

Supported in: Batch, Streaming

Returns true if left is greater than right.

Expression categories: Numeric

Declared arguments

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

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Left: a
  • Right: b
abOutput
10true
11false
01false

Example 2: Base case

Argument values:

  • Left: a
  • Right: b
abOutput
10.5true
11.0false

Example 3: Base case

Argument values:

  • Left: a
  • Right: b
abOutput
batrue
abcdabctrue
aabfalse

Example 4: Null case

Argument values:

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