Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][Spark] DeltaTable.vacuum() does not return metrics as DataFrame #3689

Open
2 tasks done
stevenayers-bge opened this issue Sep 19, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@stevenayers-bge
Copy link

stevenayers-bge commented Sep 19, 2024

Bug

Which Delta project/connector is this regarding?

  • Spark

Describe the problem

Operations such as optimize return a DataFrame with the operation's metrics; however, vacuum() returns an empty DataFrame.

Steps to reproduce

from delta import DeltaTable
from pyspark.sql import SparkSession

spark = SparkSession.builder.getOrCreate()
my_table = DeltaTable.forName(spark, "my_schema.my_table")
df = my_table.vacuum()
assert df.isEmpty()

Environment information

  • Delta Lake version: 3.2.0
  • Spark version: 3.5.2
  • Scala version:

Willingness to contribute

The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?

  • Yes. I can contribute a fix for this bug independently.
@stevenayers-bge stevenayers-bge added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant