pitrou commented on code in PR #45411:
URL: https://github.com/apache/arrow/pull/45411#discussion_r2010363506


##########
docs/source/python/parquet.rst:
##########
@@ -739,6 +739,37 @@ An example encryption configuration:
       },
    )
 
+.. note::
+   Encrypting columns that have nested fields (for instance struct, map, or 
even list data types)
+   require configuring column keys for the inner fields, not the column itself.
+   Configuring a column key for the column itself causes this error (here 
column name is ``col``):
+
+   .. code-block::
+
+      OSError: Encrypted column col not in file schema
+
+An example encryption configuration for columns with nested fields, where
+all of the columns will be encrypted with the key identified by 
``column_key_id``:

Review Comment:
   ```suggestion
   An example encryption configuration for columns with nested fields, where
   all columns will be encrypted with the same key identified by 
``column_key_id``:
   ```



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