Adding support for CAST operator in Phoenix