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

Zoltan Haindrich commented on HIVE-25224:
-----------------------------------------

this check could be suppressed even for tables with >1 buckets - the FSO 
operators are computing the bucket id from the row

> Multi insert statements involving tables with different bucketing_versions 
> results in error
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25224
>                 URL: https://issues.apache.org/jira/browse/HIVE-25224
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> drop table if exists t;
> drop table if exists t2;
> drop table if exists t3;
> create table t (a integer);
> create table t2 (a integer);
> create table t3 (a integer);
> alter table t set tblproperties ('bucketing_version'='1');
> explain from t3 insert into t select a insert into t2 select a;
> {code}
> results in
> {code}
> Error: Error while compiling statement: FAILED: RuntimeException Error 
> setting bucketingVersion for group: [[op: FS[2], bucketingVersion=1], [op: 
> FS[11], bucketingVersion=2]] (state=42000,code=40000)
> {code}



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

Reply via email to