We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45517d6 commit 655475dCopy full SHA for 655475d
1 file changed
packages/db-dtypes/db_dtypes/json.py
@@ -181,9 +181,9 @@ def pa_data(self):
181
182
def _cmp_method(self, other, op):
183
if op.__name__ == "eq":
184
- result = pyarrow.compute.equal(self.pa_data, self._box_pa(other))
+ result = pyarrow.compute.equal(self.pa_data, self._box_pa(other)) # type: ignore[attr-defined]
185
elif op.__name__ == "ne":
186
- result = pyarrow.compute.not_equal(self.pa_data, self._box_pa(other))
+ result = pyarrow.compute.not_equal(self.pa_data, self._box_pa(other)) # type: ignore[attr-defined]
187
else:
188
# Comparison is not a meaningful one. We don't want to support sorting by JSON columns.
189
raise TypeError(f"{op.__name__} not supported for JSONArray")
0 commit comments