Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fetch lastIngested for charts, and correctly show data last updated #1116

Merged
merged 8 commits into from
Nov 29, 2024

Conversation

MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Nov 29, 2024

lastIngested was missing from the GraphQL query for fetching charts, preventing the metadata last updated from being displayed in that case. I've also removed it from the search query as it wasn't needed.

Data last updated wasn't being displayed for any entity type as it was referencing a non-existent property. This was intentional for CaDeT metadata but I've enabled it for other platforms.

#1113

Before

Screenshot 2024-11-29 at 09 50 37

After

Screenshot 2024-11-29 at 11 51 27

Previously the metadata last updated date was not showing for charts.
Previously we were inconsistently returning lastIngested
as the timestamp for some (but not all) search results.

If we do display a date here, it should be the data last updated, not
the metadata last updated.
The last updated date was not displaying, as it referenced
a custom property that does not exist in the pydantic model.
without this there is a bit too much space at the bottom of the card.
@MatMoore MatMoore force-pushed the fetch-last-ingested-for-charts branch from f2dd35a to 1d9aa90 Compare November 29, 2024 09:49
@MatMoore MatMoore changed the title fix: fetch lastIngested for charts fix: fetch lastIngested for charts, and correctly show data last updated Nov 29, 2024
@MatMoore MatMoore marked this pull request as ready for review November 29, 2024 09:55
@MatMoore MatMoore requested a review from a team as a code owner November 29, 2024 09:55
We were deliberately hiding this because the dbt last modified date is
misleading.
@MatMoore MatMoore force-pushed the fetch-last-ingested-for-charts branch from dd611b4 to 62f68ca Compare November 29, 2024 11:51
@MatMoore MatMoore force-pushed the fetch-last-ingested-for-charts branch from 62f68ca to 4ae4fc7 Compare November 29, 2024 11:52
@MatMoore MatMoore merged commit 88b98c9 into main Nov 29, 2024
10 checks passed
@MatMoore MatMoore deleted the fetch-last-ingested-for-charts branch November 29, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants