Bruce Robbins created SPARK-52692:
-------------------------------------
Summary: Support caching TIME type
Key: SPARK-52692
URL: https://issues.apache.org/jira/browse/SPARK-52692
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 4.1.0
Reporter: Bruce Robbins
Currently, caching the TIME type is unsupported:
{noformat}
spark-sql (default)> CACHE TABLE v1 AS SELECT TIME'22:00:00';
Putting block rdd_6_0 failed due to exception org.apache.spark.SparkException:
not support type: TimeType(6)..
Block rdd_6_0 could not be removed as it was not found on disk or in memory
Exception in task 0.0 in stage 0.0 (TID 0)
org.apache.spark.SparkException: not support type: TimeType(6).
at
org.apache.spark.sql.errors.QueryExecutionErrors$.notSupportTypeError(QueryExecutionErrors.scala:1130)
~[spark-catalyst_2.13-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
at
org.apache.spark.sql.execution.columnar.ColumnBuilder$.apply(ColumnBuilder.scala:205)
~[spark-sql_2.13-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]