Hubert-Dudek
Databricks MVP

In my opinion as Vacuum remove old files so is better to do Vacuum first so there will be less files to optimize but maybe in some cases it will be faster to delete optimized already files (so optimize first)


My blog: https://databrickster.medium.com/