Github user juliuszsompolski commented on the issue:

    https://github.com/apache/spark/pull/23152
  
    This reproes it:
    ```
            sql("create table all_null (attr1 int, attr2 int)")
            sql("insert into all_null values (null, null)")
            sql("analyze table all_null compute statistics for columns attr1, 
attr2")
            // check if the stats can be calculated without Cast exception.
            sql("select * from all_null where attr1 < 
attr2").queryExecution.stringWithStats
    ```
    
    Could we piggy back this fix here?
    Sorry for posting last minute after lgtm.


---

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

Reply via email to