Invalidates and refreshes all the cached data and metadata of the given table
refreshTable.Rd
Invalidates and refreshes all the cached data and metadata of the given table. For performance reasons, Spark SQL or the external data source library it uses might cache certain metadata about a table, such as the location of blocks. When those change outside of Spark SQL, users should call this function to invalidate the cache.
Details
If this table is cached as an InMemoryRelation, drop the original cached version and make the new version cached lazily.
Examples
if (FALSE) { # \dontrun{
sparkR.session()
refreshTable("spark_catalog.default.myTable")
} # }