You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Gabor Kaszab (Jira)" <ji...@apache.org> on 2022/06/16 08:42:00 UTC

[jira] [Created] (IMPALA-11361) Implement dictionary filtering for struct members when the struct is in the select list

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-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org