ReactiveStateEngine error " Can't find the corresponding reactive state function for sequence sensitive function isDuplicated "

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)
请先 登录 后评论

1 个回答

Jason Tang - 时序数据库技术支持

If you want to de duplicate in streaming calculation, you can select the keyedStreamTable.

reference resources:

keyedStreamTable

请先 登录 后评论
  • 1 关注
  • 0 收藏,896 浏览
  • Vishvesh Upadhyay 提出于 2022-01-15 19:22

相似问题