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

Adding ability to override TimePathedSource step sizes. #1100

Closed
wants to merge 1 commit into from

Conversation

zakattacktwitter
Copy link

We would like to be able to use MostRecentGoodSource on sources that are not split exactly on hour, day, month or year boundaries. For example, our batches are 8 hours and we want the most recent one.

@@ -44,7 +43,7 @@ abstract class TimeSeqPathedSource(val patterns: Seq[String], val dateRange: Dat
}

protected def allPathsFor(pattern: String): Iterable[String] =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine to merge, but note, you could have gotten this same behavior by overriding allPathsFor in your subclass. So, you are not blocked now, right?

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 this pull request may close these issues.

2 participants