Yu Tang created SPARK-53596: ------------------------------- Summary: Put translatable filters to the left side of untranslatable filters Key: SPARK-53596 URL: https://issues.apache.org/jira/browse/SPARK-53596 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 4.0.1 Reporter: Yu Tang
Inspired by [40045|https://issues.apache.org/jira/browse/SPARK-40045], to put translatable filters to the left side of untranslatable filters in `FileSourceStrategy` {code:java} select xxx from table where hash(c2) = 2 AND p1 = 1 AND c1 = 1{code} before {code:java} *(1) Filter ((isnotnull(c1#0) AND (hash(c2#1, 42) = 2)) AND (c1#0 = 1)) {code} after {code:java} *(1) Filter ((isnotnull(c1#0) AND (c1#0 = 1)) AND (hash(c2#1, 42) = 2)){code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org