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

Add get getUpdatedPartitions and optimizeUpdatedPartitions #84

Open
zeotuan opened this issue Sep 5, 2024 · 0 comments · May be fixed by #85
Open

Add get getUpdatedPartitions and optimizeUpdatedPartitions #84

zeotuan opened this issue Sep 5, 2024 · 0 comments · May be fixed by #85

Comments

@zeotuan
Copy link

zeotuan commented Sep 5, 2024

add an API similar to what was implemented in mrpowers-io/levi#23 to get recently updated partitions
Also add an additional API to perform optimize on delta table using result from the above mentioned API since everyone will most likely perform similar operation to translate them to optimize condition

def getUpdatedPartitions(path: String, startTime: Option[Instant], endTime: Option[Instant]): Array[Map[String, String]]

def optimizeUpdatedPartition(path: String, startTime: Option[Instant], endTime: Option[Instant], zOrderCols: Option[Seq[String]] = None): DataFrame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant