File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -168,11 +168,6 @@ std::vector<WriteConfig> GetEncryptedWriteConfigurations(const ::arrow::Schema&
168168 {
169169 ColumnPathToEncryptionPropertiesMap column_map;
170170 for (const auto & field : schema.fields ()) {
171- // Skip nested columns (they will not be encrypted) until GH-41246 makes
172- // their configuration easier.
173- if (field->type ()->num_fields () > 0 ) {
174- continue ;
175- }
176171 auto column_key = MakeEncryptionKey ();
177172 column_map[field->name ()] = ColumnEncryptionProperties::WithColumnKey (
178173 column_key.key , column_key.key_metadata );
@@ -184,11 +179,7 @@ std::vector<WriteConfig> GetEncryptedWriteConfigurations(const ::arrow::Schema&
184179 // Unencrypted columns
185180 {
186181 ColumnPathToEncryptionPropertiesMap column_map;
187- // Only encrypt the first non-nested column, the rest will be written in plaintext
188182 for (const auto & field : schema.fields ()) {
189- if (field->type ()->num_fields () > 0 ) {
190- continue ;
191- }
192183 column_map[field->name ()] = ColumnEncryptionProperties::Unencrypted ();
193184 }
194185 ARROW_DCHECK_NE (column_map.size (), 0 );
You can’t perform that action at this time.
0 commit comments