[ 
https://issues.apache.org/jira/browse/FLINK-13950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921896#comment-16921896
 ] 

Hongtao Zhang commented on FLINK-13950:
---------------------------------------

cc [~lirui] . by talking with LiRui, the team will launch Flink-Hive partition 
table design FLIP to the community, and the final fix solution should be 
pending for the discussion result

> should report an error if hive table partition keys are not in the last 
> schema fields
> -------------------------------------------------------------------------------------
>
>                 Key: FLINK-13950
>                 URL: https://issues.apache.org/jira/browse/FLINK-13950
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Hive
>    Affects Versions: 1.9.0, 1.10.0
>            Reporter: Hongtao Zhang
>            Priority: Critical
>
> when creating a hive table via hive catalog API, we will build the table 
> schema first and then optionally we can choose one or more fields as the 
> partition keys when user want to create partition table. 
>  
> according to hive partition rule, the partition keys should be  last fields 
> of the table. but now hive catalog create table API didn't report an error 
> when user specify the first / middle fields of the table schema.
>  
> we should report an error for this scenario



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to