我有一个kdb表中有3列:日期,货币,fx率。一些FX缺失,我想用前一天的值替换空FX,对于同一货币显然。我不能使用填充,因为它可能会混合使用货币。我尝试用group的变体填充,但它不起作用。你知道如何做到这一点?这是我不正确查询: update fills fx from (`ccy`date xasc t)
这是原始表(由数据): date ccy fx
2017.08.01 AUS 0
有没有在kdb中使用查询中的函数的方法。假设我有列 `red`blue`green`yellow`white`purple
含有任一值0或1代替查询 select where ((red=1) or (green=1))
我可以使用像 isRG:{((select green from x)=1) or ((select red from x)=1)}
的功能来筛选选择的表? 我可以做