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

Pass kwargs in python create_rf_spark_session to spark conf #361

Merged

Conversation

vpipkt
Copy link
Member

@vpipkt vpipkt commented Sep 20, 2019

No description provided.

Signed-off-by: Jason T. Brown <jason@astraea.earth>
@vpipkt vpipkt added this to the 0.8.2 milestone Sep 20, 2019
@vpipkt vpipkt requested a review from metasim Sep 20, 2019
Copy link
Member

@metasim metasim left a comment

This is super!

""" Create a SparkSession with pyrasterframes enabled and configured. """
jar_path = find_pyrasterframes_assembly()

if 'spark.jars' in kwargs.keys():
if 'pyrasterframes' not in kwargs['spark.jars']:
raise UserWarning("spark.jars config is set, but it seems to be missing the pyrasterframes assembly jar.")
Copy link
Member

@metasim metasim Sep 22, 2019

Choose a reason for hiding this comment

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

💯

@metasim metasim merged commit 8bcac6f into locationtech:develop Sep 23, 2019
2 checks passed
@metasim metasim deleted the feature/353-conf-to-create-spark-sess branch Sep 23, 2019
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.

None yet

2 participants