Congyu

Results 136 comments of Congyu

Currently no async is supported.

Looks like WideColumns is not yet supported here, and we will need to add APIs like `GetEntity` and `PutEntity` to support it.

Quoting [rocksdb wide column doc](https://github.com/facebook/rocksdb/wiki/Wide-Columns): The classic Get, MultiGet, GetMergeOperands, and Iterator::value APIs return the value of the default column when they encounter an entity, while the new APIs GetEntity,...

Just curious, what do you use WideColumns for? For the moment, if the object is not that large, I would suggest to use some custom deserialization for the entities. The...

Related: https://github.com/facebook/rocksdb/issues/12635

I've already drafted an up-stream PR: https://github.com/facebook/rocksdb/pull/12653

Check [wide_columns_raw examples](https://github.com/Congyuwang/RocksDict/blob/main/examples/wide_columns_raw.py) with `pip install rocksdict==0.3.24b1` ([pypi link](https://pypi.org/project/rocksdict/0.3.24b1/)). Tell me if it works 🙂.

I'm about to release a beta.2, which will make opening DB created by other languages (c++, java, rust) much straightforward.

Ok. Try `pip install rocksdict==0.3.24b2`, and ```python from rocksdict import Rdict # This will automatically load latest options and column families. # Note also that this is automatically RAW MODE,...

The logic of rocksdict is that, we do not pass cf argument to any of `get, put, iter, get_entity, and etc.`. Instead, use `some_cf = db.get_column_family("some_cf_name")` which returns an object...