Skip to content

Commit b334dcc

Browse files
feat(duckdb)!: mark DECOMPRESS_BINARY as unsupported (#7546)
* feat(duckdb)!: mark DECOMPRESS_BINARY as unsupported [CLAUDE] Add decompressbinary_sql method to DuckDB generator to mark DECOMPRESS_BINARY as unsupported and use function_fallback_sql. Updated sqlglot-integration-tests submodule to include test case. * Sync w/ integration tests --------- Co-authored-by: George Sittas <giwrgos.sittas@gmail.com>
1 parent 9e04fa1 commit b334dcc

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
@@ -2286,6 +2286,10 @@ def decompressstring_sql(self, expression: exp.DecompressString) -> str:
22862286
self.unsupported("DECOMPRESS_STRING is not supported in DuckDB")
22872287
return self.function_fallback_sql(expression)
22882288

2289+
def decompressbinary_sql(self, expression: exp.DecompressBinary) -> str:
2290+
self.unsupported("DECOMPRESS_BINARY is not supported in DuckDB")
2291+
return self.function_fallback_sql(expression)
2292+
22892293
def jarowinklersimilarity_sql(self, expression: exp.JarowinklerSimilarity) -> str:
22902294
this = expression.this
22912295
expr = expression.expression

0 commit comments

Comments
 (0)