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
Spark报错日志: Caused by: java.lang.RuntimeException: java.sql.Date is not a valid external type for schema of date at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.StaticInvoke_0$(Unknown Source) at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(Unknown Source) at org.apache.spark.sql.catalyst.encoders.ExpressionEncoder$Serializer.apply(ExpressionEncoder.scala:207)
我的sr表的一个字段是date格式,spark在读取的时候报了上述错误
The text was updated successfully, but these errors were encountered:
connector版本:1.1.2
spark版本:3.2.0
Spark报错日志:
Caused by: java.lang.RuntimeException: java.sql.Date is not a valid external type for schema of date at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.StaticInvoke_0$(Unknown Source) at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(Unknown Source) at org.apache.spark.sql.catalyst.encoders.ExpressionEncoder$Serializer.apply(ExpressionEncoder.scala:207)
我的sr表的一个字段是date格式,spark在读取的时候报了上述错误
The text was updated successfully, but these errors were encountered: