You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| cannot cast ${from.catalogString} to ${to.catalogString}.
1908
+
| To convert values from ${from.catalogString} to ${to.catalogString}, you can use functions TIMESTAMP_SECONDS/TIMESTAMP_MILLIS/TIMESTAMP_MICROS instead.
1909
+
|""".stripMargin
1910
+
1911
+
case (_: ArrayType, StringType) =>
1912
+
s"""
1913
+
| cannot cast ${from.catalogString} to ${to.catalogString} with ANSI mode on.
1914
+
| If you have to cast ${from.catalogString} to ${to.catalogString}, you can use the function array_join or set $fallbackConfKey as $fallbackConfValue.
1915
+
|""".stripMargin
1916
+
1917
+
case _ ifCast.canCast(from, to) =>
1918
+
s"""
1919
+
| cannot cast ${from.catalogString} to ${to.catalogString} with ANSI mode on.
1920
+
| If you have to cast ${from.catalogString} to ${to.catalogString}, you can set $fallbackConfKey as $fallbackConfValue.
1921
+
|""".stripMargin
1922
+
1923
+
case _ =>s"cannot cast ${from.catalogString} to ${to.catalogString}"
0 commit comments