adp.maintain.rules.run_optimize_rule
- adp.maintain.rules.run_optimize_rule(rule: OptimizeRule, datasource: DataSource) None
Run the OPTIMIZE on the dataset. This will optimize the layout of Delta Lake data and improve performance. Actual dataset will not be changed.
- Parameters:
datasource (DataSource) – DataSource object which refers to a delta location in our datalake