Gabor Kaszab created IMPALA-11361:
-------------------------------------

             Summary: Implement dictionary filtering for struct members when 
the struct is in the select list
                 Key: IMPALA-11361
                 URL: https://issues.apache.org/jira/browse/IMPALA-11361
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
            Reporter: Gabor Kaszab


IMPALA-9496 added support for providing structs in the select list for Parquet 
files as well. However, when a struct member is used in a WHERE filter and the 
struct is also present in the select list then there would be a tuple/slot ID 
mismatch during the planning. The reason is that in one place the tuple/slot ID 
of the predicate is used through the struct while in other occasion the general 
ID is used.

To reproduce you have to remove the corresponding exit condition from 
HdfsScanNode.addDictionaryFilter(), rebuild, and run the following query:
{code:java}
select id, str, alltypes
from complextypes_structs
where alltypes.b = true; {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to