You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2018/03/16 17:17:00 UTC
[jira] [Created] (IMPALA-6687) Upsert fails on Kudu table with
upper case primary key and default value
Thomas Tauber-Marshall created IMPALA-6687:
----------------------------------------------
Summary: Upsert fails on Kudu table with upper case primary key and default value
Key: IMPALA-6687
URL: https://issues.apache.org/jira/browse/IMPALA-6687
Project: IMPALA
Issue Type: Bug
Components: Catalog
Affects Versions: Impala 2.12.0
Reporter: Thomas Tauber-Marshall
Repro:
{noformat}
> create table test1 (A string primary key, b int default 0) stored as kudu;
> upsert into test1 (A) values ('a');
ERROR: AnalysisException: All primary key columns must be specified for UPSERTing into Kudu tables. Missing columns are: a
{noformat}
{noformat}
I0316 10:14:27.774098 8825 jni-util.cc:230] org.apache.impala.common.AnalysisException: All primary key columns must be specified for UPSERTing into Kudu tables. Missing columns are: a
at org.apache.impala.analysis.InsertStmt.checkRequiredKuduColumns(InsertStmt.java:591)
at org.apache.impala.analysis.InsertStmt.checkColumnCoverage(InsertStmt.java:539)
at org.apache.impala.analysis.InsertStmt.analyze(InsertStmt.java:369)
at org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:424)
at org.apache.impala.analysis.AnalysisContext.analyzeAndAuthorize(AnalysisContext.java:393)
at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1014)
at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:156)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)