Skip to content

Commit

Permalink
chore(trino): use generic summary ops
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jul 25, 2024
1 parent dad2e9d commit 4f3eadb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ibis/backends/sql/compilers/trino.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,3 +568,11 @@ def visit_TableUnnest(
join_type="CROSS" if not keep_empty else "LEFT",
)
)

def visit_Info(self, op, *, parent):
# unnest cannot contain aggregates
return self.visit_GenericInfo(op, parent=parent)

def visit_Describe(self, op, *, parent, quantile):
# unnest cannot contain aggregates
return self.visit_GenericDescribe(op, parent=parent, quantile=quantile)

0 comments on commit 4f3eadb

Please sign in to comment.