shashank khare

Results 13 issues of shashank khare

Currently in restore_version we read and write the entire data to a new version. There was a more efficient implementation of this but that was reverted as it might cause...

VersionStore

Currently due to missing permissions in meta_db this can cause invalid results even with the slow path. Disabling by default, can be enabled if needed.

Attempt v1 This reverts commit 6735c0400540bfbed3b2e8c61bbff2d856139f33.

```data = lib.read('gen:6447069510335728072', as_of='snap:6447069510335728072:fe9e74b04cee6a12').data``` `I get a bson.binary.Binary on 27-3 and TypeError: data must be an instance of bytes on 36-1. Similar items do read fine on 36-1, returning a...

VersionStore
python3_migration

This happens in a lot of cases where a user could do something like: ``` lib.write('symbol', lib.read('symbol1')) ``` But what this causes is that it actually writes the Pickled VersionedItem...

It's a fairly common request to get the size of data for each symbol in VersionStore and currently I just use a Mongo js script to get it, but it...

enhancement
easy
VersionStore

I have been using a pre-commit hook that does auto-formatting via black in my personal projects and was thinking if it would be a good idea to do something similar...

enhancement

BSONStore create_index would end up creating an index in the foreground as it just wraps pymongo, which might be really sad for a large collection. Probably makes sense to create...

enhancement

Currently it works for MySQL dbs. It would be nice to make it work for postgres / Redshift / BigQuery.

enhancement

This has multiple parts: a) It should be easy to pip install to use. i.e I just want to setup the sql file to use once (generally you don't have...

refactoring