heyuqi1970 opened a new issue, #43406:
URL: https://github.com/apache/arrow/issues/43406

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   os: macos 11.7.10 (20G1427)
   python: 3.9.7
   pyarrow: 16.0.0
   
   when I use pq.read_table with decryption_properties parameter,  I get the 
following error。
   And I can use pq.ParquetFile with decryption_properties to read same 
encrypted file.
   
   ```
   Traceback (most recent call last):
     File "tt.py", line 98, in <module>
       table = pq.read_table("yellow_cryp.parquet", memory_map=True, 
decryption_properties=decryption_properties)
     File "/venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 
1762, in read_table
       dataset = ParquetDataset(
     File "/venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 
1329, in __init__
       [fragment], schema=schema or fragment.physical_schema,
     File "pyarrow/_dataset.pyx", line 1431, in 
pyarrow._dataset.Fragment.physical_schema.__get__
     File "pyarrow/error.pxi", line 154, in 
pyarrow.lib.pyarrow_internal_check_status
     File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
   OSError: Could not open Parquet input source 'yellow_cryp.parquet': Could 
not read encrypted metadata, no decryption found in reader's properties
   
   ```
   
   
   ### Component(s)
   
   Parquet, Python


-- 
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-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to