We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
[TRY_]DECRYPT_RAW
1 parent ca95e38 commit e150296Copy full SHA for e150296
1 file changed
sqlglot/generators/duckdb.py
@@ -2268,6 +2268,11 @@ def decrypt_sql(self, expression: exp.Decrypt) -> str:
2268
self.unsupported(f"{func_name} is not supported in DuckDB")
2269
return self.function_fallback_sql(expression)
2270
2271
+ def decryptraw_sql(self, expression: exp.DecryptRaw) -> str:
2272
+ func_name = "TRY_DECRYPT_RAW" if expression.args.get("safe") else "DECRYPT_RAW"
2273
+ self.unsupported(f"{func_name} is not supported in DuckDB")
2274
+ return self.function_fallback_sql(expression)
2275
+
2276
def nthvalue_sql(self, expression: exp.NthValue) -> str:
2277
from_first = expression.args.get("from_first", True)
2278
if not from_first:
0 commit comments