Skip to content
Snippets Groups Projects
Commit 35a19f33 authored by Andrew Or's avatar Andrew Or
Browse files

[SPARK-10613] [SPARK-10624] [SQL] Reduce LocalNode tests dependency on SQLContext

Instead of relying on `DataFrames` to verify our answers, we can just use simple arrays. This significantly simplifies the test logic for `LocalNode`s and reduces a lot of code duplicated from `SparkPlanTest`.

This also fixes an additional issue [SPARK-10624](https://issues.apache.org/jira/browse/SPARK-10624) where the output of `TakeOrderedAndProjectNode` is not actually ordered.

Author: Andrew Or <andrew@databricks.com>

Closes #8764 from andrewor14/sql-local-tests-cleanup.
parent 38700ea4
No related branches found
No related tags found
No related merge requests found
Showing
with 468 additions and 636 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment