admin管理员组

文章数量:1419198

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.

本文标签: apache sparkCan we stop or pause already running optimize on delta tableStack Overflow