We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b37c7 commit 397a613Copy full SHA for 397a613
1 file changed
sqlglot/dialects/duckdb.py
@@ -2880,9 +2880,9 @@ def minhash_sql(self, expression: exp.Minhash) -> str:
2880
k = expression.this
2881
exprs = expression.expressions
2882
2883
- if len(exprs) != 1:
+ if len(exprs) != 1 or isinstance(exprs[0], exp.Star):
2884
self.unsupported(
2885
- "MINHASH with multiple expressions requires manual query restructuring"
+ "MINHASH with multiple expressions or * requires manual query restructuring"
2886
)
2887
return self.func("MINHASH", k, *exprs)
2888
0 commit comments