Skip to content

fix: Wraps Trino queries in parens - #7018

Open
Marcus-Rosti wants to merge 2 commits into
feast-dev:masterfrom
Marcus-Rosti:mrosti/fix-trino-query-compute-engine
Open

Marcus-Rosti wants to merge 2 commits 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 50.97%. Comparing base (386759c) to head (46bafe1).
❗ 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   51.05%   50.97%   -0.09%     
==========================================
  Files         452      455       +3     
  Lines       56692    56917     +225     
  Branches     8256     8291      +35     
==========================================
+ Hits        28946    29014      +68     
- Misses      25765    25921     +156     
- Partials     1981     1982       +1     
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 52.43% <100.00%> (-0.10%) ⬇️
Files with missing lines Coverage Δ
...stores/contrib/trino_offline_store/trino_source.py 75.49% <100.00%> (+18.49%) ⬆️

... and 7 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 386759c...46bafe1. 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

This branch has not been deployed

No deployments
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

3 participants