Returns true iff we can cast from
type to to
type.
Return true iff we may truncate during casting from
type to to
type.
Return true iff we may truncate during casting from
type to to
type. e.g. long -> int,
timestamp -> date.
Return true if we need to use the timeZone
information casting from
type to to
type.
Return true if we need to use the timeZone
information casting from
type to to
type.
The patterns matched reflect the current implementation in the Cast node.
c.f. usage of timeZone
in:
* Cast.castToString
* Cast.castToDate
* Cast.castToTimestamp