

 从补丁 198 开始，Amazon Redshift 将不再支持创建新的 Python UDF。现有的 Python UDF 将继续正常运行至 2026 年 6 月 30 日。有关更多信息，请参阅[博客文章](https://www.amazonaws.cn/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)。

# IS\_BIGINT 函数
<a name="r_is_bigint"></a>

检查某个值是否为 `BIGINT`。对于 64 位范围内的小数位数 0 的数量，IS\_BIGINT 函数将返回 `true`。否则，对于所有其他值，包括 null 和浮点数，该函数将返回 `false`。

IS\_BIGINT 函数是 IS\_INTEGER 的超集。

## 语法
<a name="r_is_bigint-synopsis"></a>

```
IS_BIGINT(super_expression)
```

## 参数
<a name="r_is_bigint-arguments"></a>

*super\_expression*  
`SUPER` 表达式或列。

## 返回类型
<a name="r_is_bigint-returns"></a>

`BOOLEAN`

## 示例
<a name="r_is_bigint_example"></a>

要使用 IS\_BIGINT 函数检查 `5` 是否为 `BIGINT`，请使用以下示例。

```
CREATE TABLE t(s SUPER);

INSERT INTO t VALUES (5);

SELECT s, IS_BIGINT(s) FROM t;

+---+-----------+
| s | is_bigint |
+---+-----------+
| 5 | true      |
+---+-----------+
```