ilavie opened a new issue #8987:
URL: https://github.com/apache/arrow/issues/8987
```
parquet::schema::PrimitiveNode::Make(
"req1",
parquet::Repetition::REQUIRED,
parquet::DateLogicalType::Make(),
parquet::Type::INT32
);
```
Fails on ```outParquetStream << int32val``` with:
```Column converted type mismatch. Column 'req1' has converted type[DATE]
not 'INT_32'```
I get the same error with I use the older style declaration:
```
parquet::schema::PrimitiveNode::Make(
"req1",
parquet::Repetition::REQUIRED,
parquet::Type::INT32
parquet::ConvertedType::type::DATE
);
```
The field names match, so I know it is not a field sequencing issue.
All other code is boilerplate from the ```stream-reader-writer.cc```
example.. just the field node def changed and writing an int32. I used this
spec as a guide.
(https://github.com/apache/parquet-format/blob/master/LogicalTypes.md)
If LogicalTypes are implemented, such as the DATE example, above, can you
help with whatever I am doing wrong? Also, why doesn't the older style
declaration work, either?
Thank you in advance for any help you can give.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]