4paradigm / 4paradigm/OpenMLDB

Ensuring consistency in support for the Timestamp data type format in different statements.

オープン
#3,875 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement sql
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

**Describe the feature you'd like**

Currently, there is inconsistency in the support for the Timestamp data type format across statements such as insert, select, and load data infile. Furthermore, the documentation lacks comprehensive descriptions in this regard.
Some test cases and examples: https://qiok3h8ob4.feishu.cn/docx/P1LBdzVIeoPSuHxUUBBcgGq9n7c?from=from_copylink

**Desired Improvements**

1. Support for String Format Timestamps
Implement support for Timestamps in string format, including parsing, validation, and support for millisecond-level precision. The expected format is: yyyy-MM-dd HH:mm:ss.SS.

2. Support for int64 Format Timestamps
Extend support to include Timestamps in int64 format.

3. Conversion Support with timestamp Function
Allow conversion between string/int64 format Timestamps using the timestamp function.

4. Consistent Behavior for Timestamp Columns with Indexes
Ensure uniform behavior when dealing with Timestamp columns that have indexes.

By implementing these improvements, we aim to enhance consistency and usability across various statements and operations involving Timestamp data types.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue describes inconsistencies in timestamp format support across insert, select, and load data infile statements. Start by examining the SQL parser and execution engine code for timestamp handling. Look for existing timestamp parsing and validation logic. The linked test cases document provides specific examples to understand the current behavior and desired improvements.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
backend, databases, machine-learning
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。