Skip to content

fix: Trino test for parentheses only when the subquery isn’t already wrapped - #7174

Merged
ntkathole merged 1 commit into
feast-dev:masterfrom
ntkathole:fix_trino_paren
Nov 17, 2026
Merged

ntkathole merged 1 commit into
feast-dev:masterfrom
ntkathole:fix_trino_paren

Conversation

@ntkathole

@ntkathole ntkathole commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What this PR does / why we need it:

This PR fixes unit test failing on CI for all prs.

Root cause was semantic merge conflict between two stale branches. #7018 changed TrinoSource.get_table_query_string() to wrap query sources in parentheses.

The failing test and the buggy FROM ({context.table_subquery}) line both came from a different, earlier PR - feast-dev/feast#7150


Devin Review

…wrapped

Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
@ntkathole ntkathole self-assigned this Nov 17, 2026
@ntkathole
ntkathole requested a review from a team as a code owner November 17, 2026 10:14

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@codecov-commenter

codecov-commenter commented Nov 17, 2026 •

Copy link
Copy Markdown

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

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.10%. Comparing base (c964771) to head (fe834a9).
❗ 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    #7174      +/-   ##
==========================================
+ Coverage   52.84%   53.10%   +0.26%     
==========================================
  Files         459      459              
  Lines       58315    58344      +29     
  Branches     8605     8611       +6     
==========================================
+ Hits        30817    30985     +168     
+ Misses      25389    25244     -145     
- Partials     2109     2115       +6     
Flag Coverage Δ
go-feature-server 30.96% <ø> (ø)
python-unit 54.65% <100.00%> (+0.27%) ⬆️
Files with missing lines Coverage Δ
...ffline_stores/contrib/trino_offline_store/trino.py 46.16% <100.00%> (+0.19%) ⬆️

... and 4 files 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 c964771...fe834a9. 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.

@ntkathole
ntkathole merged commit b4ab3d6 into feast-dev:master Nov 17, 2026
26 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants