Looking good! Add an endToEnd test, for example in QueryExecTest where the to_number is used in a select clause and in a where clause filter. Best would be two where clause filters - one which contributes to the start/stop scan key and one that ends up being evaluated in a filter