Is UNCACHE table a lazy operation in Spark SQL?

前端 未结 1 393
栀梦
栀梦 2021-01-25 04:36

The Apache Spark SQL operation CACHE table has an option so that it runs lazy. But what about UNCACHE table ? The documentation doesn\'t say anything if it is lazy or not. Will

相关标签:
1条回答
  • 2021-01-25 04:43

    The default UNCACHE operation is non-blocking. If you use the DSL, you can call df.unpersist(true) on a dataframe/dataset to make the operation blocking.

    0 讨论(0)
提交回复
热议问题