I use the field::type approach to cast fields, but now I have to change it to CAST(field as type) on our whole codebase (more than 300 files and 3k
field::type
CAST(field as type)