[
https://issues.apache.org/jira/browse/IMPALA-11361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabor Kaszab updated IMPALA-11361:
----------------------------------
Affects Version/s: Impala 4.1.0
> 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
> Affects Versions: Impala 4.1.0
> Reporter: Gabor Kaszab
> Priority: Major
> Labels: complextype
>
> 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: [email protected]
For additional commands, e-mail: [email protected]