feat(sql): optimise latest by symbol column with no index (#2010)
Optimises SQL queries similar to ``` tbl LATEST on timestamp PARTITION BY sym ``` when symbol column `sym` is not indexed. Uses the fact that there are known numbers of searched symbol values and stops scan when it finds the latest values for all the distinct values.
Showing
想要评论请 注册 或 登录