Add numbers(加法运算(Add numbers))¶
Supported in: Batch, Faster, Streaming
Calculates the sum of all input columns.
Expression categories: Numeric
Declared arguments¶
- Expressions: List of columns to be added.
List\>
Output type: Numeric
Examples¶
Example 1: Base case¶
Argument values:
- Expressions: [
col_a,col_b]
| col_a | col_b | Output |
|---|---|---|
| 0 | 1 | 1 |
| 3 | -2 | 1 |
中文翻译¶
加法运算(Add numbers)¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
计算所有输入列的总和。
表达式类别: 数值(Numeric)
声明的参数¶
- 表达式(Expressions): 需要相加的列列表。
列表\<表达式\<数值>>
输出类型: 数值(Numeric)
示例¶
示例 1:基础用例¶
参数值:
- 表达式: [
col_a,col_b]
| col_a | col_b | 输出 |
|---|---|---|
| 0 | 1 | 1 |
| 3 | -2 | 1 |