[
https://issues.apache.org/jira/browse/HIVE-22505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Panagiotis Garefalakis updated HIVE-22505:
------------------------------------------
Attachment: HIVE-22505.patch
Status: Patch Available (was: Open)
Attaching a patch that modifies the Vectorizer to make sure thatÂ
VectorMapJoinOuterFilteredOperator is not selected for non-supported full-outer
joins. Instead it falls back to a non-vectorized implementation.
Also attaching a test query to test the particular scenario
> ClassCastException caused by wrong Vectorized operator selection
> ----------------------------------------------------------------
>
> Key: HIVE-22505
> URL: https://issues.apache.org/jira/browse/HIVE-22505
> Project: Hive
> Issue Type: Bug
> Components: Vectorization
> Reporter: Panagiotis Garefalakis
> Assignee: Panagiotis Garefalakis
> Priority: Critical
> Attachments: HIVE-22505.patch, query_error.out,
> query_vector_explain.out, vectorized_join.q
>
>
> VectorMapJoinOuterFilteredOperator does not currently support full outer
> joins but using the current Vectorizer logic it can be selected when a there
> is a filter involved. This can make queries fail with ClassCastException when
> their data and metadata in the VectorMapJoinOuterFilteredOperator do not
> match.
> The query attached demonstrates the issue and the log attached shows the
> java.lang.ClassCastException
--
This message was sent by Atlassian Jira
(v8.3.4#803005)