Skip to content

Commit 726e0df

Browse files
committed
num quantiles arg should use _parse_bitwise
1 parent 2b4e3fd commit 726e0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlglot/dialects/bigquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ def _parse_approx_quantiles(self) -> t.Optional[exp.Expression]:
924924
this = self.expression(exp.Distinct, expressions=[this])
925925

926926
self._match(TokenType.COMMA)
927-
expression = self._parse_disjunction()
927+
expression = self._parse_bitwise()
928928
if not expression:
929929
self.raise_error("Expected number of quantiles argument in APPROX_QUANTILES")
930930

0 commit comments

Comments
 (0)