(all_columns)
| 937 | |
| 938 | |
| 939 | def _check_data_column_metadata_consistency(all_columns): |
| 940 | # It can never be the case in a released version of pyarrow that |
| 941 | # c['name'] is None *and* 'field_name' is not a key in the column metadata, |
| 942 | # because the change to allow c['name'] to be None and the change to add |
| 943 | # 'field_name' are in the same release (0.8.0) |
| 944 | assert all( |
| 945 | (c['name'] is None and 'field_name' in c) or c['name'] is not None |
| 946 | for c in all_columns |
| 947 | ) |
| 948 | |
| 949 | |
| 950 | def _deserialize_column_index(block_table, all_columns, column_indexes): |
no outgoing calls
no test coverage detected