[v50] Invalid query when trying to sum values saved as string in db

Hello,
Since the v50 i am getting errors when trying to sum values saved as string in db (mysql/snowflake) even though i changed table metadata to quantity. It was working fine before now i get this error:

Invalid query: {:stages [{:aggregation [[nil nil [nil nil ["expression returning a number"]]]]}]}

I see you also created a Github issue for this. We'll continue the convo over there - but here's a link for curious folks.