-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support #LATEST and timePartitionPattern at the same time (#1198)
- Loading branch information
Showing
10 changed files
with
267 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
119 changes: 119 additions & 0 deletions
119
feathr-impl/src/test/resources/slidingWindowAgg/localAnchorTestObsData2.avro.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"schema": { | ||
"type": "record", | ||
"name": "NTVObs", | ||
"doc": "Daily or multi-day aggregated a activity features generated from similar data sources.", | ||
"namespace": "com.linkedin.feathr.offline.data", | ||
"fields": [ | ||
{ | ||
"name": "x", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "" | ||
}, | ||
{ | ||
"name": "y", | ||
"type": "string", | ||
"doc": "" | ||
}, | ||
{ | ||
"name": "timestamp", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "passthroughFeatures", | ||
"type": { | ||
"type": "array", | ||
"items": { | ||
"type": "record", | ||
"name": "features", | ||
"fields": [ | ||
{ | ||
"name": "name", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "term", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "value", | ||
"type": "float" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"data": [ | ||
{ | ||
"x": { | ||
"string": "1" | ||
}, | ||
"y": "a2", | ||
"timestamp": "2018-05-03", | ||
"passthroughFeatures": [ | ||
{ | ||
"name": "f1f1", | ||
"term": "f1t1", | ||
"value": 12 | ||
} | ||
] | ||
}, | ||
{ | ||
"x": { | ||
"string": "a2" | ||
}, | ||
"y": "a1", | ||
"timestamp": "2018-05-03", | ||
"passthroughFeatures": [ | ||
{ | ||
"name": "f1f1", | ||
"term": "f1t1", | ||
"value": 12 | ||
} | ||
] | ||
}, | ||
{ | ||
"x": null, | ||
"y": "a5", | ||
"timestamp": "2018-05-03", | ||
"passthroughFeatures": [ | ||
{ | ||
"name": "f1f1", | ||
"term": "f1t1", | ||
"value": 12 | ||
} | ||
] | ||
}, | ||
{ | ||
"x": null, | ||
"y": "a8", | ||
"timestamp": "2018-05-03", | ||
"passthroughFeatures": [ | ||
{ | ||
"name": "f1f1", | ||
"term": "f1t1", | ||
"value": 12 | ||
} | ||
] | ||
}, | ||
{ | ||
"x": { | ||
"string": "xyz" | ||
}, | ||
"y": "abc", | ||
"timestamp": "2018-04-30", | ||
"passthroughFeatures": [ | ||
{ | ||
"name": "f2f2", | ||
"term": "f2t2", | ||
"value": 12 | ||
} | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+1.67 KB
...daily/2018/05/01/postfixPath/05/part-00000-a5fbb15b-11b1-4a96-9fb0-28f7b77de928-c000.avro
Binary file not shown.
Binary file added
BIN
+1.68 KB
...daily/2018/05/01/postfixPath/05/part-00001-a5fbb15b-11b1-4a96-9fb0-28f7b77de928-c000.avro
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters