Michael Smith created IMPALA-15191:
--------------------------------------

             Summary: Join using _row_id hits DCHECK
                 Key: IMPALA-15191
                 URL: https://issues.apache.org/jira/browse/IMPALA-15191
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Michael Smith


With the following setup
{code:java}
create table fk (_row_id int primary key) stored as kudu;
insert into fk values (1);
create table fi (i int) stored as iceberg tblproperties('format-version'='3');
insert into fi values (10), (11);{code}
running
{code:java}
select i from fi join fk using (_row_id);{code}
triggers the DCHECK at 
[https://github.com/apache/impala/blob/master/be/src/exec/hdfs-scan-node-base.cc#L1122.]
 If I continue on {{_row_id}} - which I think is wrong because 
{{{}_row_id{}}}'s not supposed to be sent to the backend - the results are 
wrong.

I've run into the same failure in a more complicated scenario with {{{}on 
alias1._row_id = alias2._row_id{}}}, but I haven't figured out a more isolated 
reproduction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to