Skip to content

fix(redshift): handle timetz values without timezone offset from Data API - #466

Merged
atzoum merged 2 commits into
mainfrom
fix/redshift-timetz-parsing
Apr 3, 2026
Merged

atzoum merged 2 commits into
mainfrom
fix/redshift-timetz-parsing

Conversation

@am6010

@am6010 am6010 commented Apr 1, 2026 •

Copy link
Copy Markdown
Contributor

🔒 Scanned for secrets using gitleaks 8.28.0

Description

Redshift stores timetz values in UTC. The Data API may return them without a timezone offset suffix, so fall back to parsing withoutoffset and treat as UTC.

Integration tests are failing
https://github.com/rudderlabs/sqlconnect-go/actions/runs/23791779941/job/69480724934?pr=465

Linear Ticket

pro-5500

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

… API

Redshift stores timetz values in UTC. The Data API may return them
without a timezone offset suffix, so fall back to parsing without
offset and treat as UTC.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

🔒 Scanned for secrets using gitleaks 8.28.0
@codecov

codecov Bot commented Apr 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.58%. Comparing base (7cff782) to head (10c77bf).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #466      +/-   ##
==========================================
+ Coverage   84.54%   84.58%   +0.03%     
==========================================
  Files          96       96              
  Lines        4343     4339       -4     
==========================================
- Hits         3672     3670       -2     
+ Misses        505      504       -1     
+ Partials      166      165       -1     

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

@am6010
am6010 marked this pull request as ready for review April 1, 2026 11:29
@am6010
am6010 requested a review from atzoum as a code owner April 1, 2026 11:29
@atzoum
atzoum merged commit 8680bb8 into main Apr 3, 2026
20 checks passed
@atzoum
atzoum deleted the fix/redshift-timetz-parsing branch April 3, 2026 06:52
atzoum pushed a commit that referenced this pull request Apr 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.25.2](v1.25.1...v1.25.2)
(2026-04-03)


### Bug Fixes

* **redshift:** handle timetz values without timezone offset from Data
API ([#466](#466))
([8680bb8](8680bb8))
* remove catalog validation from ListColumns method for databricks
([#464](#464))
([38b5161](38b5161))


### Miscellaneous

* **deps:** bump actions/create-github-app-token from 2.2.1 to 3.0.0
([#458](#458))
([595a2f8](595a2f8))
* **deps:** bump actions/download-artifact from 5.0.0 to 8.0.1
([#457](#457))
([897e669](897e669))
* **deps:** bump actions/setup-go from 6.2.0 to 6.3.0
([#452](#452))
([e0fe47f](e0fe47f))
* **deps:** bump actions/upload-artifact from 4.6.2 to 7.0.0
([#448](#448))
([8c39d00](8c39d00))
* **deps:** bump cloud.google.com/go/bigquery from 1.73.1 to 1.74.0
([#451](#451))
([8eb0b1b](8eb0b1b))
* **deps:** bump github.com/aws/aws-sdk-go-v2/config from 1.32.7 to
1.32.12 ([#460](#460))
([efb0425](efb0425))
* **deps:** bump github.com/databricks/databricks-sql-go from 1.9.0 to
1.10.0 ([#443](#443))
([e25c0c9](e25c0c9))
* **deps:** bump golang.org/x/crypto from 0.48.0 to 0.49.0
([#459](#459))
([e782b9c](e782b9c))
* **deps:** bump step-security/harden-runner from 2.14.2 to 2.16.0
([#456](#456))
([7a6d6bf](7a6d6bf))
* **deps:** bump the go_modules group across 1 directory with 4 updates
([#467](#467))
([8797b7c](8797b7c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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