跳转至

Greater than or equals(大于或等于)

Supported in: Batch, Faster, Streaming

Returns true if left is greater than or equal to right.

Expression categories: Boolean

Declared arguments

  • Left: Left expression.
    Expression\
  • Right: Right expression.
    Expression\

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Left: a
  • Right: b
a b Output
1 0 true
1 1 true
0 1 false

Example 2: Base case

Argument values:

  • Left: a
  • Right: b
a b Output
1 0.5 true
1 1.0 true

Example 3: Base case

Argument values:

  • Left: a
  • Right: b
a b Output
b a true
abcd abc true
aa b false

Example 4: Base case

Argument values:

  • Left: a
  • Right: b
a b Output
null null null
1 null null
null 1.0 null


中文翻译


大于或等于

支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)

若左侧值大于或等于右侧值,则返回 true。

表达式类别: 布尔(Boolean)

声明的参数

  • 左侧(Left): 左侧表达式。
    表达式\<可比较类型>(Expression\
  • 右侧(Right): 右侧表达式。
    表达式\<可比较类型>(Expression\

输出类型: 布尔(Boolean)

示例

示例 1:基础情况

参数值:

  • 左侧: a
  • 右侧: b
a b 输出
1 0 true
1 1 true
0 1 false

示例 2:基础情况

参数值:

  • 左侧: a
  • 右侧: b
a b 输出
1 0.5 true
1 1.0 true

示例 3:基础情况

参数值:

  • 左侧: a
  • 右侧: b
a b 输出
b a true
abcd abc true
aa b false

示例 4:基础情况

参数值:

  • 左侧: a
  • 右侧: b
a b 输出
null null null
1 null null
null 1.0 null