Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(Postgres): Set INDEX_OFFSET to 1 #1782

Merged
merged 2 commits into from
Jun 15, 2023

Conversation

vegarsti
Copy link
Contributor

Fixes #1781

@vegarsti vegarsti changed the title Set INDEX_OFFSET to 1 for Postgres Fix(Postgres): Set INDEX_OFFSET to 1 Jun 15, 2023
@tobymao tobymao merged commit 4a1068b into tobymao:main Jun 15, 2023
vegarsti added a commit to duneanalytics/harmonizer that referenced this pull request Jun 15, 2023
@vegarsti vegarsti deleted the postgres-index-offset branch June 16, 2023 07:20
adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
* Add failing test for array offset

* Add INDEX_OFFSET = 1 for Postgres
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.

Postgres array indexes are incorrectly incremented when transpiling to Presto
3 participants