跳转至

Coalesce(Coalesce(合并空值))

Returns the first input value that is not null, or null if all inputs are null. Can be useful to cast potential null values to a defined value. To do this, select Manually input (string/number/date/boolean) as the input array configuration. As the first array value, use a variable input to select a card or column value that is potentially null. As the second array value, use a static input to manually define a non-null "fallback" value for cases when the first value is null.

Input type

Number, string, time, boolean, number array, string array, time array,

Output type

Number, string, time, boolean

Usage information

Functionality Availability
Standard Quiver card Supported
Transform table transform Supported

中文翻译


Coalesce(合并空值)

返回第一个非空的输入值,若所有输入均为空则返回空值。该函数可用于将潜在的空值转换为已定义的值。具体操作时,请选择手动输入(字符串/数字/日期/布尔值)作为输入数组配置。在第一个数组值中,使用变量输入选择可能为空的卡片或列值;在第二个数组值中,使用静态输入手动定义非空的"回退"值,以应对第一个值为空的情况。

输入类型

数字、字符串、时间、布尔值、数字数组、字符串数组、时间数组

输出类型

数字、字符串、时间、布尔值

使用信息

功能 可用性
标准 Quiver 卡片 支持
转换表转换 支持