[ https://issues.apache.org/jira/browse/HIVE-28595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis updated HIVE-28595: --------------------------------------- Priority: Minor (was: Major) > 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 > Security Level: Public(Viewable by anyone) > Affects Versions: 4.0.0-alpha-2 > Reporter: chiranjeevi > Assignee: Indhumathi Muthumurugesh > Priority: Minor > > 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)