Skip to content

Commit

Permalink
fix(clickhouse): workaround sqlglot median bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Nov 6, 2024
1 parent 85643e9 commit de02f21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ibis/backends/sql/dialects.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Generator(_ClickHouse.Generator):
sge.ArraySort: rename_func("arraySort"),
sge.LogicalAnd: rename_func("min"),
sge.LogicalOr: rename_func("max"),
sge.Median: rename_func("median"),
}

def except_op(self, expression: sge.Except) -> str:
Expand Down

0 comments on commit de02f21

Please sign in to comment.