apache spark - Can we stop or pause already running optimize on delta table - Stack Overflow

Is there any way to stop or pause an already running optmize on delta table started usingval deltaTabl

Is there any way to stop or pause an already running optmize on delta table started using

val deltaTable = DeltaTable.forPath(spark, deltaTablePath) 
deltaTable.optimize().executeCompaction()

Is there any way to stop or pause an already running optmize on delta table started using

val deltaTable = DeltaTable.forPath(spark, deltaTablePath) 
deltaTable.optimize().executeCompaction()
Share Improve this question asked Jan 29 at 8:27 Shailendra KirtikarShailendra Kirtikar 474 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

To stop or pause a running OPTIMIZE operation on a Delta table (started via executeCompaction()), there is no direct API in Delta Lake 2.x or earlier. If the OPTIMIZE is running as a Spark job, you can kill the associated Spark job.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745304673a4621639.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信