Kelvin Jiang created SPARK-47511: ------------------------------------ Summary: Canonicalize With expressions by re-assigning IDs Key: SPARK-47511 URL: https://issues.apache.org/jira/browse/SPARK-47511 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 4.0.0 Reporter: Kelvin Jiang
The current canonicalization of `With` expressions takes into account the ID of the common expressions, which comes from a global monotonically increasing ID. This means that queries with `With` expressions (e.g. `NULLIF` expressions) will have inconsistent canonicalizations. -- 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