Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.17.0
-
None
Description
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:
org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
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.