daniel-adam-tfs commented on PR #596:
URL: https://github.com/apache/arrow-go/pull/596#issuecomment-3626998712

   The other way around, when I try to run tools/read_encrypted_parquet.py, 
which should attempt to decrypt the arrow-go generated file 
arrowgo_encrypted_uniform.parquet I get this error:
   
   ```shell
   Reading arrowgo_encrypted_uniform.parquet
   Traceback (most recent call last):
     File "/daniel-adam-tfs/arrow-go/tools/./read_encrypted_parquet.py", line 
27, in <module>
       with pq.ParquetFile(
            ~~~~~~~~~~~~~~^
               input_file,
               ^^^^^^^^^^^
               decryption_properties=decryption_properties) as f:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/venv/lib/python3.13/site-packages/pyarrow/parquet/core.py", line 
328, in __init__
       self.reader.open(
       ~~~~~~~~~~~~~~~~^
           source, use_memory_map=memory_map,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       ...<8 lines>...
           arrow_extensions_enabled=arrow_extensions_enabled,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       )
       ^
     File "pyarrow/_parquet.pyx", line 1656, in 
pyarrow._parquet.ParquetReader.open
     File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
   OSError: Failed to parse key metadata footer_key
   ```
   
   Seems that it expects the key metadata to be written differently?


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