opteryx
opteryx copied to clipboard
Rewrite CAST function as operators
CAST calls to be rewritten from functions (eg INTEGER(Val) ) to Ops (e.g val CAST_TO INTEGER)
Ops are faster because they skip the arrow to numpy conversation and where possible we just work on the raw buffers.
We could do this partially and get the optimizer to rewrite for ops rewritten casts until they are all done