spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cesar <ces...@gmail.com>
Subject How to check if a data frame is cached?
Date Fri, 15 Jul 2016 00:33:49 GMT
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

Mime
View raw message