[jira] [Assigned] (SPARK-42176) Cast boolean to timestamp fails with ClassCastException

2023-01-24 Thread Hyukjin Kwon (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon reassigned SPARK-42176:


Assignee: Ivan Sadikov

> Cast boolean to timestamp fails with ClassCastException
> ---
>
> Key: SPARK-42176
> URL: https://issues.apache.org/jira/browse/SPARK-42176
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.3.1, 3.4.0
>Reporter: Ivan Sadikov
>Assignee: Ivan Sadikov
>Priority: Major
>
> When casting a boolean value to timestamp, the following error is thrown:
> {code:java}
> [info]   java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Long
> [info]   at scala.runtime.BoxesRunTime.unboxToLong(BoxesRunTime.java:107)
> [info]   at 
> org.apache.spark.sql.catalyst.InternalRow$.$anonfun$getWriter$5(InternalRow.scala:178)
> [info]   at 
> org.apache.spark.sql.catalyst.InternalRow$.$anonfun$getWriter$5$adapted(InternalRow.scala:178)
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-42176) Cast boolean to timestamp fails with ClassCastException

2023-01-24 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-42176:


Assignee: (was: Apache Spark)

> Cast boolean to timestamp fails with ClassCastException
> ---
>
> Key: SPARK-42176
> URL: https://issues.apache.org/jira/browse/SPARK-42176
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.3.1, 3.4.0
>Reporter: Ivan Sadikov
>Priority: Major
>
> When casting a boolean value to timestamp, the following error is thrown:
> {code:java}
> [info]   java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Long
> [info]   at scala.runtime.BoxesRunTime.unboxToLong(BoxesRunTime.java:107)
> [info]   at 
> org.apache.spark.sql.catalyst.InternalRow$.$anonfun$getWriter$5(InternalRow.scala:178)
> [info]   at 
> org.apache.spark.sql.catalyst.InternalRow$.$anonfun$getWriter$5$adapted(InternalRow.scala:178)
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-42176) Cast boolean to timestamp fails with ClassCastException

2023-01-24 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-42176:


Assignee: Apache Spark

> Cast boolean to timestamp fails with ClassCastException
> ---
>
> Key: SPARK-42176
> URL: https://issues.apache.org/jira/browse/SPARK-42176
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.3.1, 3.4.0
>Reporter: Ivan Sadikov
>Assignee: Apache Spark
>Priority: Major
>
> When casting a boolean value to timestamp, the following error is thrown:
> {code:java}
> [info]   java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Long
> [info]   at scala.runtime.BoxesRunTime.unboxToLong(BoxesRunTime.java:107)
> [info]   at 
> org.apache.spark.sql.catalyst.InternalRow$.$anonfun$getWriter$5(InternalRow.scala:178)
> [info]   at 
> org.apache.spark.sql.catalyst.InternalRow$.$anonfun$getWriter$5$adapted(InternalRow.scala:178)
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org