QuestionQ185

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

What occurs when a developer registers two DataFrames with the same view name, myView, by using the createOrReplaceTempView function?

Explanation

createOrReplaceTempView creates or replaces a local temporary view. A second registration using myView replaces the existing view, so myView refers to the new DataFrame.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!