Databricks Databricks Certified Associate Developer for Apache Spark 3.0 Databricks Certified Associate Developer for Apache Spark 3.0 exam Online Training

Question #1 Which of the following code blocks silently writes DataFrame itemsDf in avro format to location fileLocation if a file does not yet exist at that location? A . itemsDf.write.avro(fileLocation)B . itemsDf.write.format("avro").mode("ignore").save(fileLocation)C . itemsDf.write.format("avro").mode("errorifexists").save(fileLocation)D . itemsDf.save.format("avro").mode("ignore").write(fileLocation)E . spark.DataFrameWriter(itemsDf).format("avro").write(fileLocation) Reveal Solution Hide SolutionCorrect Answer: A A Explanation: The trick in this QUESTION NO:...

October 22, 2023 No Comments READ MORE +