v1

latestSwagger 2.02026-07-17586981.0 KB
prime

Primes a function failure response

post/prime/{clusterId}#(function_failure)

Path parameters

clusterIdstring required

Id or name of the cluster

Request body

Example request

{
  "when": {
    "query": "SELECT * FROM tbl"
  },
  "then": {
    "result": "function_failure",
    "function": "fib",
    "arg_types": [
      "int",
      "varchar"
    ],
    "detail": "Could not execute function!"
  }
}

Response

PrimedQuery

Example response

{
  "when": {
    "query": "SELECT * FROM tbl"
  },
  "then": {
    "result": "function_failure",
    "function": "fib",
    "arg_types": [
      "int",
      "varchar"
    ],
    "detail": "Could not execute function!"
  }
}