Description
Base table:
CREATE TABLE base.mt (tenant_id VARCHAR not null, event_type VARCHAR not null, mycol varchar CONSTRAINT pk PRIMARY KEY(tenant_id,event_type)) MULTI_TENANT=true;
Tenant specific table:
CREATE VIEW acme.mt AS SELECT * FROM base.mt;
Upsert statement:
upsert into acme.mt values ('foo','bar')
Result:
Values are upserted in wrong columns:
tenant_id: foo, event_id: bar, mycol: acme