4paradigm / 4paradigm/OpenMLDB
support `format` argument for `date`, `datediff`, `timestamp`, `unix_timestamp`, etc
- 主要言語
- C++
- スター
- 1.7k
- フォーク
- 331
- 平均マージ
- 12日 12時間
- マージ済み PR(30日)
- 1
説明
**Describe the feature you'd like**
A clear and concise description of what you want to happen.
Currently we only support the following fixed three formats:
- yyyy-mm-dd
- yyyymmdd
- yyyy-mm-dd hh:mm:ss
We may allow user to provide a `format` argument to these functions.
**Additional context**
Add any other context or screenshots about the feature request here.
コントリビューションガイド
調査の方向性
Look for the date, datediff, timestamp, unix_timestamp function implementations in the codebase, likely in SQL function modules. Understand the current fixed format parsing and output logic. The task is to extend these functions to accept a format argument, requiring changes to function signatures, parsing, and possibly validation. Check existing tests for these functions to see how they are currently tested and add new tests for the format argument.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, sql
- 領域
- backend, databases
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100