mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-18 05:50:41 +00:00
* feat(copy_to_json): add `date_format`/`timestamp_format`/`time_format` for JSON format. Signed-off-by: Yihai Lin <yihai-lin@foxmail.com> * Update src/common/datasource/src/file_format/json.rs Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Yihai Lin <yihai-lin@foxmail.com> * chore: Use predefined constants as the time format. Signed-off-by: Yihai Lin <yihai-lin@foxmail.com> --------- Signed-off-by: Yihai Lin <yihai-lin@foxmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Parquet
The parquet/basic.parquet was converted from csv/basic.csv via bdt.
Internal of parquet/basic.parquet:
Data:
+-----+-------+
| num | str |
+-----+-------+
| 5 | test |
| 2 | hello |
| 4 | foo |
+-----+-------+
Schema:
+-------------+-----------+-------------+
| column_name | data_type | is_nullable |
+-------------+-----------+-------------+
| num | Int64 | YES |
| str | Utf8 | YES |
+-------------+-----------+-------------+