You could define your own equality operator that only calls == for the same types, and would throw a method error otherwise. But that could get restrictive very fast, like 1 == 1.0 wouldn’t work anymore etc.
Perhaps check that one field can be converted into the other before comparing:
julia> compare_field(dfValue, tgValue) = isequal(convert(typeof(tgValue), dfValue), tgValue)
compare_field (generic function with 1 method)
julia> compare_field(UInt8(1), 1)
true
julia> compare_field(1, "January")
ERROR: MethodError: Cannot `convert` an object of type Int64 to an object of type String
[...]