| 26 | namespace compute { |
| 27 | |
| 28 | uint32_t RowTableMetadata::num_varbinary_cols() const { |
| 29 | uint32_t result = 0; |
| 30 | for (auto column_metadata : column_metadatas) { |
| 31 | if (!column_metadata.is_fixed_length) { |
| 32 | ++result; |
| 33 | } |
| 34 | } |
| 35 | return result; |
| 36 | } |
| 37 | |
| 38 | bool RowTableMetadata::is_compatible(const RowTableMetadata& other) const { |
| 39 | if (other.num_cols() != num_cols()) { |