Skip to content

Conversation

@linrrzqqq
Copy link
Contributor

Versions

  • dev
  • 3.0
  • 2.1
  • 2.0

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built

+----------+--------+----------+
```

```sql
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

所有函数至少有一个某些输入参数为NULL的case


| 参数 | 说明 |
|---------------|-------------------------------------------------------|
| `<period>` | 代表一个由年和月组成的周期。<ul><li>**格式**:月份固定占末尾两位,格式解读为 YYYYMM 或 YYMM。若使用 YYMM 格式,当 YY 小于 70 时会被解读为 20YY,当 YY 大于等于 70 时会被解读为 19YY。</li><li>**值范围**:接受 `[0, 2^63-1]` 范围内的整型参数,且最后两位(月份)必须在 `[1, 12]` 范围内。</li><li>**年份位数**:函数不限制年份部分的位数,这意味着年份可以超过四位。</li></ul> |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

既然年份位数不一定,那么就不能说是YYYYMM和YYMM了,这俩函数的描述还得重新斟酌下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants