[SPARK-4693] [SQL] PruningPredicates may be wrong if predicates contains an empty AttributeSet() references