This is going to be really silly, but I just can’t remember what this is called …here we go
I’ve created some flux queries that require multiple tables that need to be union later on. The reason I do this is I have to do some tricks to find the first data point in the range I am looking for… My first table looks something like this:
data1 = () => from(bucket: "example")
|> range(start: -24h)
|> filter(fn: (r) => r["_field"] == "machine_state_int")
|> keep(columns: ["_start", "_stop", "_time", "_value", "device" ])
|> group(columns: ["device"])
data1
I cannot remember for the life of me why I would use the () characters in the first line of the query. I can’t even find what it is called. Does anybody know!? It’s driving me nuts and I cannot find it anywhere in the documentation