xrl opened a new issue #711:
URL: https://github.com/apache/arrow-rs/issues/711
**Describe the bug**
There was support for `chrono::NaiveDateTime` in parquet_derive but its test
cases were hidden behind a cargo feature flag and must have been ignored in
tests. When upgrading the parquet library and dependencies I got this type
error:
```
7 | #[derive(Queryable, Debug, ParquetRecordWriter, ParquetRecordSchema)]
| ^^^^^^^^^^^^^^^^^^^
|
= help: message: not implemented: NaiveDateTime currently is not supported
```
**To Reproduce**
Derive a record writer implementation for this struct:
```
#[derive(ParquetRecordWriter)]
struct MyRow {
time: NaiveDateTime,
}
```
**Expected behavior**
The `NaiveDateTime` should generate a schema which matches this text version
(note the converted type):
```
REQUIRED INT64 now (TIMESTAMP_MILLIS);
```
**Additional context**
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]