Github user jinxing64 commented on the issue:

    https://github.com/apache/spark/pull/19602
  
    @cloud-fan 
    I removed some cases in `ExtractAttribute`. But to make it clear, do you 
mean that in below scenario, we don't prune partitions?
    ```
    create table test(id int, string) partitioned by (dt string)
    select count(1) from test where dt=20180101  -- HiveShim will get 
EqualTo(Cast(dt as int), 20180101) and Cast.mayTruncate will return true for 
this.
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to