Declaring variables

In there any way to declare a variable in CrateDB? I’ve tried with a function that echo a value, but since I will show the data on Grafana, some issue rise when I try to get the data to visualize.

@proddata any hint on this?

Could you be more explicit, what you are trying to do? i.e. are you trying to use Grafana variables (can be done with $my_variable in statements) or are you looking for declared variables within CrateDB?

CrateDB currently does not support transactions and therefore also not declaring variables in a programatic way.

1 Like