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

Clarification on loading data folder having multiple CSV file from local hard drive #38

Open
vishnu-muraly opened this issue Apr 19, 2019 · 1 comment

Comments

@vishnu-muraly
Copy link

Hi,
I'm really stuck with this section of Spark book.
staticDataFrame = spark.read.format("csv")
.option("header", "true")
.option("inferSchema", "true")
.load("/mnt/defg/retail-data/by-day/*.csv")

  1. I'm not able to understand the "load("/mnt/...") section.
    I have downloaded the data to my local drive. But now the issue is on loading the data. How to load the data ?

  2. Is the mnt/defg being done via S3 ? or by any other method !

@hiteshtiwari
Copy link

hiteshtiwari commented Apr 20, 2019 via email

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

No branches or pull requests

2 participants