Commit 1828ae4
committed
Add read method for yielding transformed records to TIMDEXDataset
Why these changes are being introduced:
* Transformed records are recorded as serialized JSON strings
under the 'transformed_record' column for each row in a TIMDEXDataset.
This method allows applications for TIMDEX ETL to easily retrieve
parsed transformed records from a dataset via this library.
How this addresses that need:
* Add 'read_transformed_records_iter' method to TIMDEXDataset
Side effects of this change:
* Applications like TIM can now retrieve parsed transformed records
from dataset
Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-4531 parent 47e74c3 commit 1828ae4
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
0 commit comments