Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sqlglot-integration-tests
4 changes: 4 additions & 0 deletions sqlglot/generators/duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2250,6 +2250,10 @@ def bitmapconstructagg_sql(self, expression: exp.BitmapConstructAgg) -> str:
f"({self.sql(exp.replace_placeholders(self.BITMAP_CONSTRUCT_AGG_TEMPLATE, arg=arg))})"
)

def compress_sql(self, expression: exp.Compress) -> str:
self.unsupported("DuckDB does not support the COMPRESS() function")
return self.function_fallback_sql(expression)

def nthvalue_sql(self, expression: exp.NthValue) -> str:
from_first = expression.args.get("from_first", True)
if not from_first:
Expand Down
Loading