forked from C0urante/avro-random-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from Telefonica/test/qa_thor_auto_datasets
test: add qa automatic thor datasets with tuple dates
- Loading branch information
Showing
2 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
samples/datasets/qa_thor_auto_tuple_dates/v1.0.0/qa_thor_auto_tuple_dates_1.0.0.avsc
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,48 @@ | ||
{ | ||
"type": "record", | ||
"doc": "Dataset for automatic thor launching with tuple date partitioned", | ||
"x-fp-version": "1.0.0", | ||
"fields": [ | ||
{ | ||
"name": "OPERATOR_ID", | ||
"aliases": [ | ||
"operator_id" | ||
], | ||
"type": ["null", "string"], | ||
"doc": "Global Operator Identifier (Operator acting as owner of the information present in the current entity)" | ||
}, | ||
{ | ||
"name": "YEAR_NUM", | ||
"aliases": [ | ||
"count" | ||
], | ||
"type": { | ||
"type": "int", | ||
"x-fp-time-dimension": "YYYY" | ||
}, | ||
"doc": "YEAR NUM" | ||
}, | ||
{ | ||
"name": "MONTH_NUM", | ||
"aliases": [ | ||
"count" | ||
], | ||
"type": { | ||
"type": "int", | ||
"x-fp-time-dimension": "MM" | ||
}, | ||
"doc": "MONTH NUM" | ||
}, | ||
{ | ||
"name": "DAY_NUM", | ||
"aliases": [ | ||
"count" | ||
], | ||
"type": { | ||
"type": "int", | ||
"x-fp-time-dimension": "dd" | ||
}, | ||
"doc": "DAY NUM" | ||
} | ||
] | ||
} |
53 changes: 53 additions & 0 deletions
53
samples/extensions/qa_thor_auto_tuple_dates/v1.0.0/extensions.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,53 @@ | ||
{ | ||
"name": "Mobile_Line", | ||
"type": "record", | ||
"doc": "Dataset for automatic thor launching with tuple date partitioned", | ||
"x-fp-version": "1.0.0", | ||
"fields": [ | ||
{ | ||
"name": "OPERATOR_ID", | ||
"type": { | ||
"type": "string", | ||
"arg.properties": { | ||
"regex": "qa_operator_id_[0-9]{16}" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "DAY_NUM", | ||
"type": { | ||
"type": "int", | ||
"arg.properties": { | ||
"range": { | ||
"min": 1, | ||
"max": 3 | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "MONTH_NUM", | ||
"type": { | ||
"type": "int", | ||
"arg.properties": { | ||
"range": { | ||
"min": 8, | ||
"max": 9 | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "YEAR_NUM", | ||
"type": { | ||
"type": "int", | ||
"arg.properties": { | ||
"range": { | ||
"min": 2023, | ||
"max": 2024 | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |