Skip to content

feat(cubesql): Support setting time zone with SET TIMEZONE#10364

Open
MazterQyou wants to merge 1 commit intomasterfrom
cubesql/set-time-zone
Open

feat(cubesql): Support setting time zone with SET TIMEZONE#10364
MazterQyou wants to merge 1 commit intomasterfrom
cubesql/set-time-zone

Conversation

@MazterQyou
Copy link
Member

Check List

  • Tests have been run in packages where changes have been made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Issue Reference this PR resolves

#4142

Description of Changes Made

This PR adds support for setting session time zone with SET TIMEZONE (or SET TIME ZONE PostgreSQL-specific syntax by bumping cube-js/sqlparser-rs@1423a0c and cube-js/arrow-datafusion@3171c65). Related tests are included.

Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
@MazterQyou MazterQyou requested review from a team as code owners February 4, 2026 13:07
@github-actions github-actions bot added the rust Pull requests that update Rust code label Feb 4, 2026
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 89.47368% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.01%. Comparing base (d5b169b) to head (bef0e61).

Files with missing lines Patch % Lines
rust/cubesql/cubesql/src/compile/router.rs 71.21% 19 Missing ⚠️
rust/cubesql/cubesql/src/compile/mod.rs 98.94% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10364      +/-   ##
==========================================
- Coverage   83.29%   78.01%   -5.28%     
==========================================
  Files         248      469     +221     
  Lines       74486    91961   +17475     
  Branches        0     3539    +3539     
==========================================
+ Hits        62041    71744    +9703     
- Misses      12445    19722    +7277     
- Partials        0      495     +495     
Flag Coverage Δ
cube-backend 55.16% <ø> (?)
cubesql 83.30% <89.47%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant