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 an option to not track late data for a table #282

Open
yruslan opened this issue Nov 7, 2023 · 0 comments
Open

Add an option to not track late data for a table #282

yruslan opened this issue Nov 7, 2023 · 0 comments
Labels
enhancement New feature or request Pramen-Scala

Comments

@yruslan
Copy link
Collaborator

yruslan commented Nov 7, 2023

Background

When ingestion happens from an operation database in snapshot mode (no event/info dates), and the database was unavailable for a specific date, it might not make sense to load that data with previous information date since the new data with thew new information date is going to be loaded anyway, and it is going to have the same contents.

Feature

Add an option to not track late data for a table.

Example

pramen.metastore {
  tables = [
  {  
    name = "table_name"
    # ...

    # If true, Pramen will try loading all previous partition/info dates 
    # If false, Pramen won't try filling gaps, will just load data to the current partition/information date
    track.late.data = false
  }
]
@yruslan yruslan added enhancement New feature or request Pramen-Scala labels Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Pramen-Scala
Projects
None yet
Development

No branches or pull requests

1 participant