Skip to content

Commit 8669e55

Browse files
feat(duckdb)!: mark DECOMPRESS_STRING as unsupported [CLAUDE] (#7545)
Add decompressstring_sql method to DuckDB generator to mark DECOMPRESS_STRING as unsupported and use function_fallback_sql. Updated sqlglot-integration-tests submodule to include test case.
1 parent f387112 commit 8669e55

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

sqlglot-integration-tests

sqlglot/generators/duckdb.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2282,6 +2282,10 @@ def parseip_sql(self, expression: exp.ParseIp) -> str:
22822282
self.unsupported("PARSE_IP is not supported in DuckDB")
22832283
return self.function_fallback_sql(expression)
22842284

2285+
def decompressstring_sql(self, expression: exp.DecompressString) -> str:
2286+
self.unsupported("DECOMPRESS_STRING is not supported in DuckDB")
2287+
return self.function_fallback_sql(expression)
2288+
22852289
def jarowinklersimilarity_sql(self, expression: exp.JarowinklerSimilarity) -> str:
22862290
this = expression.this
22872291
expr = expression.expression

0 commit comments

Comments
 (0)