Skip to content

Add SparkSession into TestEnvironment - #2808

Merged
echeipesh merged 2 commits into
locationtech:masterfrom
pomadchin:feature/improved-testenv
Oct 2, 2018
Merged

echeipesh merged 2 commits into
locationtech:masterfrom
pomadchin:feature/improved-testenv

Conversation

@pomadchin

Copy link
Copy Markdown
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

metasim commented Sep 24, 2018

Copy link
Copy Markdown
Member

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

@pomadchin

Copy link
Copy Markdown
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
Comment thread spark-testkit/build.sbt
libraryDependencies ++= Seq(
sparkCore % Provided ,
sparkCore % Provided,
sparkSQL % Provided,

Copy link
Copy Markdown
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
Copy Markdown
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