One of the data fields we pull is a string that in the ‘YYYY-MM’ format. I want to cast this as a Date type but TO_DATE or CAST does not like that the string is a partial date and not a complete one.
Is there a way to get around this? This field remaining a string is beginning to cause issues in a lot of our analysis.