aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src/test
diff options
context:
space:
mode:
authorShixiong Zhu <shixiong@databricks.com>2016-07-25 16:08:29 -0700
committerShixiong Zhu <shixiong@databricks.com>2016-07-25 16:08:29 -0700
commit12f490b5c85cdee26d47eb70ad1a1edd00504f21 (patch)
tree7660db1661834c3b7260cb5949a81e60c805ea33 /sql/core/src/test
parentf5ea7fe53974a7e8cbfc222b9a6f47669b53ccfd (diff)
downloadspark-12f490b5c85cdee26d47eb70ad1a1edd00504f21.tar.gz
spark-12f490b5c85cdee26d47eb70ad1a1edd00504f21.tar.bz2
spark-12f490b5c85cdee26d47eb70ad1a1edd00504f21.zip
[SPARK-16715][TESTS] Fix a potential ExprId conflict for SubexpressionEliminationSuite."Semantic equals and hash"
## What changes were proposed in this pull request? SubexpressionEliminationSuite."Semantic equals and hash" assumes the default AttributeReference's exprId wont' be "ExprId(1)". However, that depends on when this test runs. It may happen to use "ExprId(1)". This PR detects the conflict and makes sure we create a different ExprId when the conflict happens. ## How was this patch tested? Jenkins unit tests. Author: Shixiong Zhu <shixiong@databricks.com> Closes #14350 from zsxwing/SPARK-16715.
Diffstat (limited to 'sql/core/src/test')
0 files changed, 0 insertions, 0 deletions