Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Certified Associate Developer for Apache Spark topic 1 question 176 discussion

The code block shown below should read a parquet at the file path filePath into a DataFrame. Choose the response that correctly fills in the numbered blanks within the code block to complete this task.

Code block:
__1__.__2__.__3__(__4__)

  • A. 1.spark
    2. read()
    3. parquet
    4. filePath
  • B. 1. spark
    2. read()
    3. load
    4. filePath
  • C. 1. spark
    2. read
    3. load
    4. filePath, source = "parquet"
  • D. 1. storesDF
    2. read()
    3. load
    4. filePath
  • E. 1. spark
    2. read
    3. load
    4. filePath
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Sowwy1
1 month, 1 week ago
E. 1. spark 2. read 3. load 4. filePath
upvoted 1 times
...
azure_bimonster
3 months, 1 week ago
Selected Answer: E
To me E is most likely correct Syntax: spark.read.load(filePath)
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...