Skip to content

fix: Wraps Trino queries in parens - #7018

Merged
ntkathole merged 1 commit into
feast-dev:masterfrom
Marcus-Rosti:mrosti/fix-trino-query-compute-engine
Nov 17, 2026
Merged

ntkathole merged 1 commit into
feast-dev:masterfrom
Marcus-Rosti:mrosti/fix-trino-query-compute-engine

Conversation

@Marcus-Rosti

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Wraps offline store queries in ( )

Which issue(s) this PR fixes:

Fixes #7017

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

@Marcus-Rosti
Marcus-Rosti requested a review from a team as a code owner October 14, 2026 23:39
@codecov-commenter

codecov-commenter commented Oct 14, 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 52.83%. Comparing base (4b37fff) to head (8165a7d).
⚠️ Report is 1 commits behind head on master.
❗ 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    #7018      +/-   ##
==========================================
- Coverage   52.83%   52.83%   -0.01%     
==========================================
  Files         459      459              
  Lines       58331    58330       -1     
  Branches     8609     8609              
==========================================
- Hits        30818    30817       -1     
  Misses      25404    25404              
  Partials     2109     2109              
Flag Coverage Δ *Carryforward flag
go-feature-server 30.96% <ø> (ø)
python-unit 54.36% <ø> (-0.01%) ⬇️ Carriedforward from 4b37fff

*This pull request uses carry forward flags. Click here to find out more.

Files with missing lines Coverage Δ
...stores/contrib/trino_offline_store/trino_source.py 64.64% <ø> (-0.36%) ⬇️

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 4b37fff...8165a7d. 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.

@haoxu0 haoxu0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@Marcus-Rosti

Copy link
Copy Markdown
Contributor Author

@ntkathole Hey hoping to get this in before the next release!

Signed-off-by: Marcus Rosti <rostimarcus@gmail.com>
@ntkathole
ntkathole force-pushed the mrosti/fix-trino-query-compute-engine branch from e13d0a3 to 8165a7d Compare November 17, 2026 05:41
@ntkathole
ntkathole merged commit 5585598 into feast-dev:master Nov 17, 2026
17 of 22 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.

TrinoSource.get_table_query_string() omits parentheses around query, causing SQL syntax errors in Trino compute engine

5 participants