emkornfield commented on issue #14748: URL: https://github.com/apache/arrow/issues/14748#issuecomment-1350476049
Apologies for the late reply. > So, we need to update all the doc or comments mentioned "ownership" of a returned shared_ptr, right? Yes, I believe so. Would need to double check all of the methods > And another question, how to assign "UUID" to the logical type of a column? When I setup the schema followed by the [example code](https://github.com/apache/arrow/blob/75ae2cca38ea36c521c9b9c2dc30f8e12762d409/cpp/examples/parquet/low_level_api/reader_writer.h#L62), there is no choice of "UUID" like value in parquet::ConvertedType. You need to use the variant that takes a logical type and construct it with the [static factory](https://github.com/apache/arrow/blob/147b5c922efe19d34ef7e7cda635b7d8a07be2eb/cpp/src/parquet/schema.h#L215) -- 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]
