Subtract numbers(数字相减(Subtract numbers))¶
Supported in: Batch, Faster, Streaming
Subtract one number from another number.
Expression categories: Numeric
Declared arguments¶
- Left: Left number.
Expression\ - Right: Right number.
Expression\
Output type: Numeric
Examples¶
Example 1: Base case¶
Argument values:
- Left:
col_a - Right:
col_b
| col_a | col_b | Output |
|---|---|---|
| 32 | 4 | 28 |
| -5 | -3 | -2 |
中文翻译¶
数字相减(Subtract numbers)¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
从一个数字中减去另一个数字。
表达式类别: 数值(Numeric)
声明的参数¶
- 左值(Left): 左侧数字。
表达式\<数值类型> - 右值(Right): 右侧数字。
表达式\<数值类型>
输出类型: 数值类型
示例¶
示例 1:基础案例¶
参数值:
- 左值:
col_a - 右值:
col_b
| col_a | col_b | 输出 |
|---|---|---|
| 32 | 4 | 28 |
| -5 | -3 | -2 |