The-Academic-Observatory / academic-observatory-workflows

Telescopes, Workflows and Data Services for the Academic Observatory
https://academic-observatory-workflows.readthedocs.io
Apache License 2.0
16 stars 0 forks source link

Convert updated_date into timestamp when it is supplied as a date #177

Closed jdddog closed 11 months ago

jdddog commented 11 months ago

OpenAlex has changed the updated_date field from a timestamp into a date, so we need to convert these into timestamps so that they are able to load into BigQuery with the current schema.

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.09% :warning:

Comparison is base (c1aa4c7) 95.72% compared to head (b6ec5d7) 95.64%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #177 +/- ## =========================================== - Coverage 95.72% 95.64% -0.09% =========================================== Files 19 19 Lines 4566 4568 +2 Branches 610 610 =========================================== - Hits 4371 4369 -2 - Misses 125 126 +1 - Partials 70 73 +3 ``` | [Files Changed](https://app.codecov.io/gh/The-Academic-Observatory/academic-observatory-workflows/pull/177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The-Academic-Observatory) | Coverage Δ | | |---|---|---| | [...ervatory\_workflows/workflows/openalex\_telescope.py](https://app.codecov.io/gh/The-Academic-Observatory/academic-observatory-workflows/pull/177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The-Academic-Observatory#diff-YWNhZGVtaWNfb2JzZXJ2YXRvcnlfd29ya2Zsb3dzL3dvcmtmbG93cy9vcGVuYWxleF90ZWxlc2NvcGUucHk=) | `92.15% <33.33%> (-1.06%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/The-Academic-Observatory/academic-observatory-workflows/pull/177/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The-Academic-Observatory)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.