Hi,
No there is nothing built in in TorQ for this.
However you should be able to achieve the same de-duplication of data by other methods:
1) Keying the tables in the rdb and upserting instead of inserting in upd. The key would have to be unique for this to work e.g. could be seqNum or time and sym.
2) Only insert exception set in upd, i.e. change upd to {tableName insert newData except tableName}
Be advised changing the upd in this way will be more computationally expensive particularly as size of table in memory grows, illustrated by the example below:
q)tabUnkeyed:([]time:("p"$.z.d)+0D00:00:00.05*til 15000000;sym:?[15000000;`3];price:15000000?100)
q)tabKeyed:([time:("p"$.z.d)+0D00:00:00.05*til 15000000;sym:?[15000000;`3]]price:15000000?100)
q)new:enlist each([]time:("p"$.z.d)+0D00:00:00.05*til 150;sym:?[150;`3];price:150?100)
q)\t {`tabUnkeyed insert x}each new
0
q)\t {`tabKeyed upsert x}each new
1827
If the de-duplication is not required to be real-time, I would suggest implementing either of the above methods at EOD (or periodically throughout the day on a timer job) rather than in real-time. i.e. run something like {0!select by seqNum from tableName} OR {0!select by time,sym from tableName} depending on what columns define a unique key.
If the de-duplication is required to be real-time, consider implementing batching if using either of the above 2 methods so that the upd change above doesn't cause the process to fall behind processing updates - whether this is needed will depend on the volume/frequency of the incoming data