Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SparkSession into TestEnvironment #2808

Merged
merged 2 commits into from
Oct 2, 2018

Conversation

pomadchin
Copy link
Member

Overview

This PR adds spark-sql dependency into spark-testkit project and modifies TestEnvironment trait to contain SparkSession

A new dependency doesn't really hurt as, as it is a dependency into a test sub project.

Closes #2498

@metasim
Copy link
Member

metasim commented Sep 24, 2018

@pomadchin RasterFrames depends on TestEnvironment... any breaking changes I should be aware of?

@pomadchin
Copy link
Member Author

@metasim nothing had changed ._. all old function calls are the same.

@pomadchin pomadchin force-pushed the feature/improved-testenv branch from 5171c6c to 2fb799f Compare September 25, 2018 11:20
@@ -3,7 +3,8 @@ import Dependencies._
name := "geotrellis-spark-testkit"

libraryDependencies ++= Seq(
sparkCore % Provided ,
sparkCore % Provided,
sparkSQL % Provided,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@metasim mb it makes sense to remove this Provided flag?

@pomadchin pomadchin added this to the 2.1 milestone Sep 27, 2018
@echeipesh echeipesh merged commit 5e37754 into locationtech:master Oct 2, 2018
@echeipesh
Copy link
Contributor

Backported to 2.1 with ca50086

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants