You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Cesar <ce...@gmail.com> on 2016/07/15 00:33:49 UTC

How to check if a data frame is cached?

Is there a simpler way to check if a data frame is cached other than:

    dataframe.registerTempTable("cachedOutput")
    assert(hc.isCached("cachedOutput"), "The table was not cached")


Thanks!
-- 
Cesar Flores