Cast the data type to something supported by SQL.
castToSQLSupportedType(x)
x
single value or vector of values
x, possibly cast to different type
Jasper Schelfhout