probcomp / bayeslite

BayesDB on SQLite. A Bayesian database table for querying the probable implications of data as easily as SQL databases query the data itself.
http://probcomp.csail.mit.edu/software/bayesdb
Apache License 2.0
922 stars 64 forks source link

Loom Backend: Create mapping from loom rowid to table rowid #608

Closed fsaad closed 6 years ago

fsaad commented 6 years ago

Current implementation assumes table rowids are contiguous: https://github.com/probcomp/bayeslite/blob/c49fb01cbd918f565aeb0a00669434c6bf16dbeb/src/backends/loom_backend.py#L101-L109

Should create a mapping from the loom_rowid to the table_rowid, as in the cgpm_backend.

Blocking #607 #590