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

Wenchen Fan reassigned SPARK-38216:
-----------------------------------

    Assignee: yikf

> When creating a Hive table, fail early if all the columns are partitioned 
> columns
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-38216
>                 URL: https://issues.apache.org/jira/browse/SPARK-38216
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: yikf
>            Assignee: yikf
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> In Hive the schema and partition columns must be disjoint sets, if hive table 
> which all columns are partitioned columns, so that other columns is empty, it 
> will fail when Hive create table, error msg as follow:
> `
> throw new HiveException(
> "at least one column must be specified for the table")
> `
> So when creating a Hive table, fail early if all the columns are partitioned 
> columns, 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to