Github user jiangxb1987 commented on a diff in the pull request:
https://github.com/apache/spark/pull/18020#discussion_r117117037
--- Diff:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/InferFiltersFromConstraintsSuite.scala
---
@@ -172,30 +173,27 @@ class InferFiltersFromConstraintsSuite extends
PlanTest {
val t1 = testRelation.subquery('t1)
val t2 = testRelation.subquery('t2)
- val originalQuery = t1.select('a, 'b.as('d), Coalesce(Seq('a,
'b)).as('int_col)).as("t")
+ val originalQuery = t1.select('a, 'b.as('d), Coalesce(Seq('a,
'b)).as('int_col))
--- End diff --
Then they would look much the same... The modified test case also covers
the original situation, so I think it may be okay to not add new test cases.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]