kdb q Rank Error
Rank errors happen when you attempt to call a function and supply too many parameters. There is also a particularly tricky variation of this where you try to use default parameters to a qsql query. The parser gets confused and does not recognise them as parameters. As shown below: