sjperkins commented on pull request #8510:
URL: https://github.com/apache/arrow/pull/8510#issuecomment-934277406
>
>
> > In the context of testing metadata equality withinin multiple parquet
files in a dataset, equality on shape and strides may be a very strict
requirement. Would relaxing the equality requirement to only compare the number
of tensor dimensions negatively impact the design?
>
> Good point. By tensor dimensions you mean shape, right? I think it's ok to
relax on the strides check. I've pushed a change, see latest commit.
I was thinking even looser:
```python
def __eq__(self, other):
len(self.shape) == len(other.shape)
```
--
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]