You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vova Vysotskyi (Jira)" <ji...@apache.org> on 2019/11/04 17:59:00 UTC

[jira] [Commented] (DRILL-7244) Run-time rowgroup pruning match() fails on casting a Long to an Integer

    [ https://issues.apache.org/jira/browse/DRILL-7244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966877#comment-16966877 ] 

Vova Vysotskyi commented on DRILL-7244:
---------------------------------------

[~ben-zvi], I cannot reproduce class cast exception with removed try-catch blocks, could you please provide some steps how this issue can be observed?

> Run-time rowgroup pruning match() fails on casting a Long to an Integer
> -----------------------------------------------------------------------
>
>                 Key: DRILL-7244
>                 URL: https://issues.apache.org/jira/browse/DRILL-7244
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Storage - Parquet
>    Affects Versions: 1.17.0
>            Reporter: Boaz Ben-Zvi
>            Assignee: Vova Vysotskyi
>            Priority: Major
>             Fix For: 1.17.0
>
>
> See DRILL-7240 , where a temporary workaround was created, skipping pruning (and logging) instead of this failure: 
> After a Parquet table is refreshed with selected "interesting" columns, a query whose WHERE clause contains a condition on a "non interesting" INT64 column fails during run-time pruning (calling match()) with:
> {noformat}
> org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
> {noformat}
> A long term solution is to pass the whole (or the relevant part of the) schema to the runtime, instead of just passing the "interesting" columns.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)