cast_from_utf8.sql 220 B

1234567
  1. /* postgres can not */
  2. select cast(Utf8("true") as bool),
  3. cast(Utf8("-1") as Int32),
  4. cast(Utf8("-3.5") as Double),
  5. cast(Utf8("P1D") as Interval),
  6. cast(Utf8("2000-01-01") as Date),
  7. cast(Utf8("2000-01-01,GMT") as TzDate);