iRakson commented on issue #27648: [SPARK-24994][SQL] : Support filter pushdown for short and byte without explicit casting URL: https://github.com/apache/spark/pull/27648#issuecomment-591984984 This is another approach as suggested by @cloud-fan. Rather than handling `cast(id as int)` in `translateFilter` , i have optimized the filters to remove cast expressions during optimization phase. As of now i am removing cast for `byte/short` columns only. Whenever `int literal` is within `byte/short` range, cast expression is removed and `int literal` is casted to `byte/short`. @cloud-fan @HyukjinKwon @maropu
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
