parquet-tools cat command does not consider logical type
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.6k
- Merge trung bình
- 3 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 33
Mô tả
The parquet-tools cat command doesn't format timestamps, outputting them as numbers instead. The parquet-tools dump command does format as timestamps, so the code has been written.
Using the attached file:
$ java -jar parquet-tools-.jar cat -j datetime_utc_adjust.parquet
{"ID":1,"DT":1604297946277}
$ java -jar parquet-tools-.jar dump datetime_utc_adjust.parquet
...
INT32 ID
--------------------------------------------------------------------------------
\*\*\* row group 1 of 1, values 1 to 1 \*\*\*
value 1: R:0 D:1 V:1INT64 DT
--------------------------------------------------------------------------------
\*\*\* row group 1 of 1, values 1 to 1 \*\*\*
value 1: R:0 D:1 V:2020-11-02T06:19:06.277
**Reporter**: [john lilley](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=john.lilley@redpoint.net)
#### Original Issue Attachments:
- [datetime_utc_adjust.parquet](https://issues.apache.org/jira/secure/attachment/13014585/datetime_utc_adjust.parquet)
**Note**: *This issue was originally created as [PARQUET-1943](https://issues.apache.org/jira/browse/PARQUET-1943). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với các entry point của các lệnh cat và dump trong parquet-tools và tái hiện vấn đề bằng tệp datetime_utc_adjust.parquet đính kèm. So sánh cách mỗi lệnh xử lý kiểu logic timestamp; hoàn thành khi cat -j xuất timestamp ở cùng dạng đã định dạng như dump thay vì một giá trị số.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100