-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble understanding resolve
?
#170
Comments
The default value is "open", which means the metadata won't be rechecked after opening (note that if you pass in a shared In order to have Your best option currently is probably: store2 = ts.open(store2.spec(retain_context=True), recheck_cached_metadata="open").result() There is certainly room for improvement in the API here. Probably we need to introduce an API to change the Note: fix_resizable_bounds isn't relevant here --- that will mark the bounds as explicit rather than implicit but doesn't affect the bounds themselves. |
Thanks for the fast response (and the great library!) I can certainly work around via just reopening and that's probably good enough for my use case. I'm planning a janky-column store thing for data loading and being able to reread the bounds would be helpful, but I'm pretty sure it won't be the critical path pretty much ever. |
( |
Looks like we forgot to expose that option on open. Instead you can do:
In fact the update call is not needed except if you had set a different value of recheck_cached_metadata when opening in the first place. |
That doesn't work either :(
|
and if i omit it I get
|
(Sorry in the actual test I gave you it's
|
Alright, well there are some fixes to the Python bindings needed... Sorry for the repeated incorrect advice. You can fix the shape mismatch error by doing: |
I have definitely never given anyone incorrect advice in a GH issue before!
Thanks! |
#170 PiperOrigin-RevId: 645464725 Change-Id: Ie4fb43baa6a77ad91ac380b71bf5dcf4a813e6fe
Hi, I feel like I don't really understand what
resolve
is supposed to do.From the docs, it says it "Obtains updated bounds, subject to the cache policy." Now, I don't really see much documentation around the cache policy (probably user error?) but it'd be helpful to see an example of what is supposed to work.
Thanks!
The text was updated successfully, but these errors were encountered: