Type casting in kapacitor rule


I’m seeing intermittent errors as follows while running on aggregation rule in kapacitor:

failed to write points to InfluxDB" service=kapacitor task_master=main task=volume-agg node=influxdb_out4 err="partial write: field type conflict: input field “data_volume” on measurement “data_volume_agg” is type float, already exists as type integer dropped=1

I checked in influxdb for data type of that fields and it returned following:

name: data_volume_agg
fieldKey fieldType

lcp_data_volume integer

Is there any way in kapacitor that I can convert aggregated data into integer ?