prime
Primes a function failure response
post/prime (function_failure)
Request body
Example request
{
"when": {
"query": "SELECT * FROM tbl",
"consistency_level": [
"LOCAL_QUORUM"
],
"params": {
"param_name_1": "value1",
"param_name_2": 2
},
"param_types": {
"param_name_1": "ascii",
"param_name_2": "bigint"
}
},
"then": {
"result": "function_failure",
"function": "fib",
"arg_types": [
"int",
"varchar"
],
"detail": "Could not execute function!"
}
}Response
PrimedQuery
Example response
{
"when": {
"query": "SELECT * FROM tbl",
"consistency_level": [
"LOCAL_QUORUM"
],
"params": {
"param_name_1": "value1",
"param_name_2": 2
},
"param_types": {
"param_name_1": "ascii",
"param_name_2": "bigint"
}
},
"then": {
"result": "function_failure",
"function": "fib",
"arg_types": [
"int",
"varchar"
],
"detail": "Could not execute function!"
}
}