Replies: 1 comment 2 replies
-
Your observations are correct, in so far that the tablesample implementation in diesel is restricted to these two methods, as that were the only ones that I was aware of at the time of writing. There is also no way to extend this outside of diesel. Given that it seems like there exists at least one other method we might want to change that. The question is what exactly can and should change. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking for a way to take advantage of the
tsm_system_rows
extension with Diesel, but it seems that when using the query builder I'm limited to using only the.tablesample_system
and.tablesample_bernoulli
methods.What I've tried
Since
Tablesample::new
is private, I can't create a new sampling method myself to use.Beta Was this translation helpful? Give feedback.
All reactions