Sitelet https://github.com/feast-dev/feast/pull/6779
Skip to content

feat: Add quality monitoring features for Trino offline store - #6779

Open
Marcus-Rosti wants to merge 1 commit into
feast-dev:masterfrom
Marcus-Rosti:mrosti/trino-monitoring
Open

feat: Add quality monitoring features for Trino offline store#6779
Marcus-Rosti wants to merge 1 commit into
feast-dev:masterfrom
Marcus-Rosti:mrosti/trino-monitoring

Conversation

@Marcus-Rosti

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Trino is missing the required endpoints for monitoring data quality... here I believe I've added most of them. I based it on the spark implementation. My familiarity with spark is pretty high -- trino less so.

Which issue(s) this PR fixes:

None?

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Unit tests
  • Integration tests
  • Manual tests
  • Testing is not required for this change

Misc

I mainly copy and pasted the implementation from spark and then Gemini and I had a bit of fun refactoring that. I leveraged gemini pretty heavily to generate unit tests which I think are fairly exhaustive but I don't know y'all's vibes on that one.

oh the auth: Optional[...] = None is fix to another issue where excluding an auth implementation results in a pydantic error -- I just included that here selfishly

Signed-off-by: Marcus Rosti <rostimarcus@gmail.com>
@Marcus-Rosti
Marcus-Rosti requested a review from a team as a code owner August 25, 2026 00:10
@codecov-commenter

codecov-commenter commented Aug 25, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 29.18288% with 182 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.00%. Comparing base (f0bc070) to head (f52497d).

Files with missing lines Patch % Lines
...ffline_stores/contrib/trino_offline_store/trino.py 30.20% 167 Missing and 4 partials ⚠️
...s/contrib/trino_offline_store/connectors/upload.py 8.33% 11 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6779      +/-   ##
==========================================
- Coverage   47.09%   47.00%   -0.09%     
==========================================
  Files         419      419              
  Lines       51878    52128     +250     
  Branches     7525     7569      +44     
==========================================
+ Hits        24430    24501      +71     
- Misses      25700    25874     +174     
- Partials     1748     1753       +5     
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 48.29% <29.18%> (-0.11%) ⬇️
Files with missing lines Coverage Δ
...s/contrib/trino_offline_store/connectors/upload.py 20.23% <8.33%> (-1.84%) ⬇️
...ffline_stores/contrib/trino_offline_store/trino.py 39.65% <30.20%> (-11.03%) ⬇️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f0bc070...f52497d. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Marcus-Rosti

Copy link
Copy Markdown
Contributor Author

it looks like the test times out unrelated to my changes?

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