(all_columns)
| 952 | |
| 953 | |
| 954 | def _check_data_column_metadata_consistency(all_columns): |
| 955 | # It can never be the case in a released version of pyarrow that |
| 956 | # c['name'] is None *and* 'field_name' is not a key in the column metadata, |
| 957 | # because the change to allow c['name'] to be None and the change to add |
| 958 | # 'field_name' are in the same release (0.8.0) |
| 959 | assert all( |
| 960 | (c['name'] is None and 'field_name' in c) or c['name'] is not None |
| 961 | for c in all_columns |
| 962 | ) |
| 963 | |
| 964 | |
| 965 | def _deserialize_column_index(block_table, all_columns, column_indexes): |
no outgoing calls
no test coverage detected