Thanhtan Le
05/14/2023, 3:23 PMGerhard Brueckl
05/15/2023, 7:36 AMThanhtan Le
05/15/2023, 9:56 AMGerhard Brueckl
05/15/2023, 10:56 AMThanhtan Le
05/15/2023, 11:29 AMGerhard Brueckl
05/15/2023, 11:51 AMdetal.autoCompact
to False
in your table properties should do the trickKashyap Bhatt
05/15/2023, 2:51 PMMERGE
, we do streaming_df.writeStream()
. Target delta table has both autoCompact and optimizeWrite enabled. We see that it runs OPTIMIZE only once in a while, which makes sense as it's waiting (I think) for enough small files to be there before optimizing.Thanhtan Le
05/15/2023, 3:02 PMGerhard Brueckl
05/16/2023, 7:14 AMThanhtan Le
05/16/2023, 8:44 AMGerhard Brueckl
05/16/2023, 8:53 AMdelta.autoCompact
insterad of delta.autoOptimize.autoCompact
Thanhtan Le
05/16/2023, 9:25 AMGerhard Brueckl
05/16/2023, 9:26 AMThanhtan Le
05/16/2023, 9:34 AMGerhard Brueckl
05/16/2023, 11:46 AMmytable_location
SET TBLPROPERTIES ('my property' = 'abc')`Thanhtan Le
05/17/2023, 1:36 PM