You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [7]: s1 = ibis.schema(dict(a="int", b="string"))
In [8]: s2 = ibis.schema(dict(b="string", a="int"))
In [9]: s1 == s2
Out[9]: True
cpcloud
changed the title
bug: .cache() gives stale result when column order changes
bug: .cache() gives incorrect result when column order changes
Apr 27, 2024
Continuation of #9068 by adding
`FrozenOrderedDict` which calculates its hash from `tuple(self.items()`
rather than `frozenset(self.items())` and also checks for item order
during equality checks.
Closes#9063.
---------
Co-authored-by: Phillip Cloud <[email protected]>
What happened?
shows
It's like the first .cache() populates the cache with column order [x, y], and then the second call retrieves the same value.
What version of ibis are you using?
main
What backend(s) are you using, if any?
probably NA?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: