[
https://issues.apache.org/jira/browse/HIVE-28595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko resolved HIVE-28595.
-----------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> Not able to insert data with hive.cbo.enable=false
> --------------------------------------------------
>
> Key: HIVE-28595
> URL: https://issues.apache.org/jira/browse/HIVE-28595
> Project: Hive
> Issue Type: Bug
> Affects Versions: 4.0.0-alpha-2
> Reporter: chiranjeevi
> Assignee: Kiran Velumuri
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> create table if not exists trunc_call_center( cc_call_center_sk bigint ,
> cc_call_center_id char(16) ) row format delimited fields terminated by '|';
> insert into trunc_call_center(cc_call_center_sk, cc_call_center_id)
> VALUES(1234, 'a');
> set hive.cbo.enable=false;
> *ERROR:*
> *Error: Error while compiling statement: FAILED: SemanticException 0:0
> Expected 2 columns for insclause-0/db_name@trunc_call_center; select produces
> 1 columns. Error encountered near token ''a''*
> *Please ignore line number 1, marked in the above error message. Error at
> line 375. (state=,code=0)*
> *Able to insert data with set hive.cbo.enable=true;*
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)