mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-22 02:01:51 +01:00
fix typo magicRecsNotfication > magicRecsNotification
This commit is contained in:
parent
ec83d01dca
commit
e13c4a9233
@ -492,7 +492,7 @@ object ExternalDataSources {
|
||||
}
|
||||
}
|
||||
|
||||
def magicRecsNotficationOpenOrClickEventsSource(
|
||||
def magicRecsNotificationOpenOrClickEventsSource(
|
||||
implicit dateRange: DateRange
|
||||
): TypedPipe[MagicRecsNotificationLite] = {
|
||||
DAL
|
||||
|
@ -491,7 +491,7 @@ object AssembleMultiTypeGraph {
|
||||
|
||||
// user-MRNotifOpenOrClick events from last 7 days
|
||||
val userMRNotifOpenOrClickEvents: TypedPipe[MagicRecsNotificationLite] =
|
||||
ExternalDataSources.magicRecsNotficationOpenOrClickEventsSource(dateRange =
|
||||
ExternalDataSources.magicRecsNotificationOpenOrClickEventsSource(dateRange =
|
||||
DateRange(dateRange.end - Days(7), dateRange.end))
|
||||
|
||||
// user-searchQuery strings from last 7 days
|
||||
|
@ -236,13 +236,13 @@ object ExternalDataSources {
|
||||
}
|
||||
}
|
||||
|
||||
def magicRecsNotficationOpenOrClickEventsSource(
|
||||
def magicRecsNotificationOpenOrClickEventsSource(
|
||||
interval: Interval
|
||||
)(
|
||||
implicit sc: ScioContext
|
||||
): SCollection[MagicRecsNotificationLite] = {
|
||||
sc.customInput(
|
||||
"ReadMagicRecsNotficationOpenOrClickEventsSource",
|
||||
"ReadMagicRecsNotificationOpenOrClickEventsSource",
|
||||
DAL
|
||||
.read(MagicrecsNotificationLite1DayLagScalaDataset, interval, DAL.Environment.Prod))
|
||||
.filter { entry =>
|
||||
|
@ -423,7 +423,7 @@ trait AssembleMultiTypeGraphScioBaseApp extends ScioBeamJob[DateRangeOptions] {
|
||||
|
||||
// user-MRNotifOpenOrClick events from last 7 days
|
||||
val userMRNotifOpenOrClickEvents =
|
||||
ExternalDataSources.magicRecsNotficationOpenOrClickEventsSource(interval_7days)
|
||||
ExternalDataSources.magicRecsNotificationOpenOrClickEventsSource(interval_7days)
|
||||
|
||||
// user-searchQuery strings from last 7 days
|
||||
val userSearchQueryEdges =
|
||||
|
Loading…
Reference in New Issue
Block a user