-
Notifications
You must be signed in to change notification settings - Fork 69
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
Custom workload: Chaining responses of queries #136
Comments
There is some support for this now, but it is not exposed in an easy to use format.
There is another implied requirement in your request which is to be able to take existing state from previous operations as input for dependent operations. We can already do this when using the request-per-thread model and the default operation sequencing that is available. However, it is not easy to express. One part of it requires you to use per-thread state variables and custom binding functions which are non-trivial. The other part requires you to understand how combine these functions with sequences so that they work well together. If you need to be able to do basic chained operations, we may add an example that shows this. |
#946 is where the discussion for this is happening now. This will be closed in lieu of that, and other more focused issues will be introduced to capture work from that. |
What is the ideal scenario for using this feature?
In a specific use-case specific workload is chaining responses from one statement to another is possible with nosqlbench?
For example:
response1 = "select * from table1 where a='a' and b='b'"
computed_value = response1.columnC+response1.columnD*100
"update table1 where a='a' and b='b' set d={computed_value}"
Is your feature request related to a problem? Please describe.
No
Would you like to help implementing or testing it?
Yes, testing.
Additional context
The text was updated successfully, but these errors were encountered: