What is the difference between createTempview
and createGlobaltempview
and CreateorReplaceTempview
in spark 2.1 ??
相关问题
- How to maintain order of key-value in DataFrame sa
- Spark on Yarn Container Failure
- In Spark Streaming how to process old data and del
- Filter from Cassandra table by RDD values
- What is the preferred method of creating, using an
相关文章
- Livy Server: return a dataframe as JSON?
- SQL query Frequency Distribution matrix for produc
- How to filter rows for a specific aggregate with s
- How to name file when saveAsTextFile in spark?
- Spark save(write) parquet only one file
- Could you give me any clue Why 'Cannot call me
- Why does the Spark DataFrame conversion to RDD req
- is a mysql temporary table unique for each user ac
Global Temporary View
As per documentation, global temporary view are views that are shared among all the sessions, untill all the Spark Application terminates.
createorReplaceTempview
createTempView
(or more appropriatelycreateOrReplaceTempView
) has been introduced in Spark 2.0 to replaceregisterTempTable
, which has been deprecated in 2.0.createTempView
creates an in memory reference to theDataframe
in use. The lifetime for this is tied to the spark session in which theDataframe
was created in