0

I am using spark with python using the pyspark command.

I came across this new library

https://github.com/databricks/spark-csv

which I want to integrate into my spark program written in python.

I have downloaded the complete codebase shown in the above link but not sure how to proceed from there. Should I just copy its contents somewhere?

Any guidance would help as I am still learning scala and spark and want to use the above library code.

0

1 Answer 1

2

Just to repeat information from the README file. To use spark-csv in your script you should use --packages option for each execution of spark-submit or pyspark shell.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.