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

Maxim Gekk updated SPARK-29382:
-------------------------------
    Description: 
Creating a table with `INTERVAL` column for writing failed with the error:
{code:java}
spark-sql> CREATE TABLE INTERVAL_TBL (f1 interval);
Error in query: org.apache.hadoop.hive.ql.metadata.HiveException: 
java.lang.IllegalArgumentException: Error: type expected at the position 0 of 
'interval' but 'interval' is found.;
{code}

This is needed for SPARK-29368

  was:
Spark cannot create a table using parquet if a column has the `INTERVAL` type:
{code}
spark-sql> CREATE TABLE INTERVAL_TBL (f1 interval) USING PARQUET;
Error in query: Parquet data source does not support interval data type.;
{code}
This is needed for SPARK-29368


> Support writing `INTERVAL` type to datasource table
> ---------------------------------------------------
>
>                 Key: SPARK-29382
>                 URL: https://issues.apache.org/jira/browse/SPARK-29382
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Priority: Major
>
> Creating a table with `INTERVAL` column for writing failed with the error:
> {code:java}
> spark-sql> CREATE TABLE INTERVAL_TBL (f1 interval);
> Error in query: org.apache.hadoop.hive.ql.metadata.HiveException: 
> java.lang.IllegalArgumentException: Error: type expected at the position 0 of 
> 'interval' but 'interval' is found.;
> {code}
> This is needed for SPARK-29368



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to