If you want to de duplicate in streaming calculation, you can select the keyedStreamTable.
reference resources:
Here is my code. I want to use isDuplicated with reactive state engine but it gives me an error "Can't find the corresponding reactive state function for sequence sensitive function isDuplicated"
Please help me.
temp1=table(100:0, `symbol`iif, [SYMBOL,DOUBLE]) rse1=createReactiveStateEngine(name="rse1",metrics=[<iif(isDuplicated([ts,symbol],LAST)=false,1,NULL)>],dummyTable=btc,outputTable=temp1,keyColumn=`symbol) subscribeTable(tableName="btc", actionName="rse1", offset=0, handler=append!{rse1}, msgAsTable=true)
If you want to de duplicate in streaming calculation, you can select the keyedStreamTable.
reference resources: