jorisvandenbossche commented on PR #34616:
URL: https://github.com/apache/arrow/pull/34616#issuecomment-1753252601

   My WIP can be seen here: 
https://github.com/tolleybot/arrow/pull/4/commits/f78a162ccc48cc6c9ae2ade31a0791d4d72b3b48
   
   
   
   > I would write this as a (Cython compiled) Python function as follows 
(using badly chosen names):
   > 
   > ```cython
   > def set_encryption_config(pfso: ParquetFragmentScanOptions, pdc: 
ParquetDecryptionConfig):
   >     cdef shared_ptr[CParquetDecryptionConfig] c_config = pdc.unwrap()
   >     pfso.parquet_options.parquet_decryption_config = c_config
   > ```
   
   That's indeed more or less exactly what I did. But the problem is how to get 
this imported from some pxd file.


-- 
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]

Reply via email to