You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/22 04:15:38 UTC

[GitHub] [arrow] ilavie opened a new issue #8987: Is the Date Logical Type or Converted Type implemented?

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:
users@infra.apache.org



[GitHub] [arrow] emkornfield closed issue #8987: Are the Date Logical Type and Date Converted Type implemented?

Posted by GitBox <gi...@apache.org>.
emkornfield closed issue #8987:
URL: https://github.com/apache/arrow/issues/8987


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [arrow] salqadri commented on issue #8987: Are the Date Logical Type and Date Converted Type implemented?

Posted by GitBox <gi...@apache.org>.
salqadri commented on issue #8987:
URL: https://github.com/apache/arrow/issues/8987#issuecomment-889474562


   What is the answer to this? I am not on any mailing list, so could you guys please repost here @emkornfield @wesm ?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] emkornfield commented on issue #8987: Are the Date Logical Type and Date Converted Type implemented?

Posted by GitBox <gi...@apache.org>.
emkornfield commented on issue #8987:
URL: https://github.com/apache/arrow/issues/8987#issuecomment-754262638


   I believe this was addressed on the mailing list.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [arrow] wesm commented on issue #8987: Are the Date Logical Type and Date Converted Type implemented?

Posted by GitBox <gi...@apache.org>.
wesm commented on issue #8987:
URL: https://github.com/apache/arrow/issues/8987#issuecomment-750364758


   Could you write to either the dev@ or user@ mailing lists? Thanks


----------------------------------------------------------------
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:
users@infra.apache.org