Don't use `Column` for type casting in Relation calculations
Merge pull request #15800 from sgrif/sg-column-in-calculation

Don't use `Column` for type casting in Relation calculations