You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(spark): enable aliased expressions to round-trip (#348)
A number of the TPC-DS tests were failing because the query
contains multiple aliases to the same expression, causing a
potential mismatch in the reference index. Although the plans
were equivalent, the substrait POJO comparison failed.
This commit uses the `hint` field of the Rel message to store the
alias names, and restore them back to the Spark plan to match
the original.
Copy file name to clipboardExpand all lines: spark/src/test/scala/io/substrait/spark/TPCDSPlan.scala
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,6 @@ class TPCDSPlan extends TPCDSBase with SubstraitPlanTestBase {
33
33
34
34
// spotless:off
35
35
valfailingSQL:Set[String] =Set(
36
-
"q35", "q51", "q84", // These fail when comparing the round-tripped query plans, but are actually equivalent (due to aliases being ignored by substrait)
0 commit comments