Skip to content

Fix!(duckdb): wrap negations, transpile week, quarter to multiplication#1780

Merged
tobymao merged 2 commits intomainfrom
jo/duckdb_interval_fixes
Jun 15, 2023
Merged

Fix!(duckdb): wrap negations, transpile week, quarter to multiplication#1780
tobymao merged 2 commits intomainfrom
jo/duckdb_interval_fixes

Conversation

@georgesittas
Copy link
Collaborator

@georgesittas georgesittas commented Jun 15, 2023

Ran all tests in the corresponding engines, they look good.

Note: the tweak I made in the Generator class was to enable the overriding of some (previously) tuple attributes.

References:

Fixes #1779

@tobymao tobymao merged commit 2270d0c into main Jun 15, 2023
@tobymao tobymao deleted the jo/duckdb_interval_fixes branch June 15, 2023 16:51
adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
…on (tobymao#1780)

* Fix(duckdb): wrap negations, transpile week, quarter to multiplication

* Simplify
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.

Transforming a presto literal timestamp query to duckdb

2 participants