Below is a continuous query -
CREATE CONTINUOUS QUERY cq1 ON mydb
BEGIN SELECT filed1 AS name
INTO cum_cq1 base_stats GROUP BY controller, time(1m) END
filed1 is a floating value.
I want name to be an integer or long.
Is there any way for this transformation.