mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
feat: support to create parquet format external table (#1463)
* feat: support parquet format external table * Update src/file-table-engine/src/error.rs Co-authored-by: Ruihang Xia <waynestxia@gmail.com> --------- Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
29
tests/data/parquet/README.md
Normal file
29
tests/data/parquet/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
### various_type.parquet
|
||||
Schema:
|
||||
```
|
||||
+-------------+-------------------------+-------------+
|
||||
| column_name | data_type | is_nullable |
|
||||
+-------------+-------------------------+-------------+
|
||||
| c_int | Int64 | YES |
|
||||
| c_float | Float64 | YES |
|
||||
| c_string | Float64 | YES |
|
||||
| c_bool | Boolean | YES |
|
||||
| c_date | Date32 | YES |
|
||||
| c_datetime | Timestamp(Second, None) | YES |
|
||||
+-------------+-------------------------+-------------+
|
||||
```
|
||||
|
||||
Data:
|
||||
```
|
||||
+-------+----------+----------+--------+------------+---------------------+
|
||||
| c_int | c_float | c_string | c_bool | c_date | c_datetime |
|
||||
+-------+----------+----------+--------+------------+---------------------+
|
||||
| 1 | 1.1 | 1.11 | true | 1970-01-01 | 1970-01-01T00:00:00 |
|
||||
| 2 | 2.2 | 2.22 | true | 2020-11-08 | 2020-11-08T01:00:00 |
|
||||
| 3 | | 3.33 | true | 1969-12-31 | 1969-11-08T02:00:00 |
|
||||
| 4 | 4.4 | | false | | |
|
||||
| 5 | 6.6 | | false | 1990-01-01 | 1990-01-01T03:00:00 |
|
||||
| 4 | 4000000 | | false | | |
|
||||
| 4 | 0.000004 | | false | | |
|
||||
+-------+----------+----------+--------+------------+---------------------+
|
||||
```
|
||||
BIN
tests/data/parquet/various_type.parquet
Normal file
BIN
tests/data/parquet/various_type.parquet
Normal file
Binary file not shown.
Reference in New Issue
Block a user