delta-io/delta

[Feature Request][SPARK] Make Vacuum DRY RUN list all the files along with the the size of the files

Open

#3,247 opened on Jun 10, 2024

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Scala (8,807 stars) (2,100 forks)batch import
enhancementgood first issue

Description

Feature request

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Overview

As of now, Vacuum dry run mode returns a dataframe containing a list of first 1000 files to be deleted. Instead, it's more useful to return all the eligible files to be deleted along with the size of these files.

Motivation

Today, users run Vacuum in dry run mode to understand the eligible files and the size of the data that is going to be deleted. By returning only a sample of 1000 files, users are not able to achieve their objective.

Further details

Willingness to contribute

The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?

  • Yes. I can contribute this feature independently.
  • Yes. I would be willing to contribute this feature with guidance from the Delta Lake community.
  • No. I cannot contribute this feature at this time.

Contributor guide

[Feature Request][SPARK] Make Vacuum DRY RUN list all the files along with the the size of the files · delta-io/delta#3247 | Good First Issue