You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "QuakeWang (via GitHub)" <gi...@apache.org> on 2026/09/08 03:54:42 UTC

[I] [Feature] Support reading Paimon TIME columns [paimon-cpp]

QuakeWang opened a new issue, #292:
URL: https://github.com/apache/paimon-cpp/issues/292

   ### Search before asking
   
   - [x] I searched the issues and found nothing similar.
   
   ### Motivation
   
   Reading a Paimon table containing a `TIME` column fails during schema deserialization:
   
   ```text
   Invalid: deserialize failed, possibly type incompatible:
   parse data type failed, error msg: Invalid: Unsupported type: TIME
   ```
   
   The Parquet table was created with PyPaimon 2.0.0 using an Arrow `time32[ms]` column containing `00:00:00.123`, `23:59:59.999`, and `NULL`. PyPaimon successfully writes and reads these values, but reading through the Vane Paimon extension fails.
   
   Tested with paimon-cpp commit `366323740cc13b5e113d9465080624b28e3880e8`, bundled in extension commit `b0ac989`.
   
   ### Solution
   
   Support Paimon `TIME` schema parsing and the corresponding Arrow time representation in the read path. Add a Parquet round-trip test covering millisecond precision, boundary values, and `NULL`.
   
   The current [type parser](https://github.com/apache/paimon-cpp/blob/a42670e066bba60100317cc0aa5a854b2273bf98/src/paimon/common/types/data_type_json_parser.cpp) still has no `TIME` handling branch.
   
   ### Anything else?
   
   The failure was reproduced through Vane, not a standalone paimon-cpp executable.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!
   


-- 
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: issues-unsubscribe@paimon.apache.org.apache.org

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


Re: [I] [Feature] Support reading Paimon TIME columns [paimon-cpp]

Posted by "zjw1111 (via GitHub)" <gi...@apache.org>.
zjw1111 commented on issue #292:
URL: https://github.com/apache/paimon-cpp/issues/292#issuecomment-5595033909

   Thanks for the detailed report and the suggested test coverage! Would you be interested in contributing a PR for this? We would be happy to help with any questions along the way. No worries at all if you do not have the bandwidth.


-- 
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: issues-unsubscribe@paimon.apache.org

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


Re: [I] [Feature] Support reading Paimon TIME columns [paimon-cpp]

Posted by "QuakeWang (via GitHub)" <gi...@apache.org>.
QuakeWang commented on issue #292:
URL: https://github.com/apache/paimon-cpp/issues/292#issuecomment-5597370946

   > Thanks for the detailed report and the suggested test coverage! Would you be interested in contributing a PR for this? We would be happy to help with any questions along the way. No worries at all if you do not have the bandwidth.
   
   Sure, I am glad to do this.


-- 
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: issues-unsubscribe@paimon.apache.org

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


Re: [I] [Feature] Support reading Paimon TIME columns [paimon-cpp]

Posted by "lxy-9602 (via GitHub)" <gi...@apache.org>.
lxy-9602 closed issue #292: [Feature] Support reading Paimon TIME columns
URL: https://github.com/apache/paimon-cpp/issues/292


-- 
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: issues-unsubscribe@paimon.apache.org

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