Two table objects with the same arguments do not evaluate as equal. This makes unit testing and comparing calls to Client.insert_rows more complicated than necessary.
Environment details
- OS type and version: Fedora 32
- Python version:
3.9.5
- pip version:
21.1.3
google-cloud-bigquery version: 2.23.2
Steps to reproduce
- Create table with set of args
- Create separate instance of table with same set of args
- Test equality
t1 == t2
- returns false
Code example
from google.cloud.bigquery import Table
t1 = Table('project.dataset.table')
t2 = Table('project.dataset.table')
t1 == t2
# returns: False
Two table objects with the same arguments do not evaluate as equal. This makes unit testing and comparing calls to
Client.insert_rowsmore complicated than necessary.Environment details
3.9.521.1.3google-cloud-bigqueryversion:2.23.2Steps to reproduce
t1 == t2Code example