Answer Posted / Nishtha Pant
"api.createOrReplaceTempView()" is a method in Apache Spark that creates or replaces an existing temporary view with the specified name for a DataFrame. This method allows you to query the DataFrame using SQL syntax, treating it as a temporary table. The view can be used within a single spark session and lasts only for the duration of that session.n
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers