You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #2248, offset with a subquery is generating incorrect code.
Fully reproducible code snippet
In [24]: import sqlglot as sg
In [25]: sg.__version__
Out[25]: '18.7.0'
In [26]: sg.select("*").from_("t").offset(sg.select("5").subquery()).sql("duckdb")
Out[26]: 'SELECT * FROM t(SELECT 5) OFFSET'
Official Documentation
N/A
The text was updated successfully, but these errors were encountered:
Similar to #2248, offset with a subquery is generating incorrect code.
Fully reproducible code snippet
Official Documentation
N/A
The text was updated successfully, but these errors were encountered: