Skip to content

Commit

Permalink
chore(bigquery): add comment about why the conversion is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jul 30, 2024
1 parent e3dee78 commit 6695186
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ibis/backends/bigquery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,11 @@ def _to_sqlglot(
if not geocols:
return query

# if there are any geospatial columns, we have to convert them to WKB,
# so interactive mode knows how to display them
#
# by default bigquery returns data to python as WKT, and there's really
# no point in supporting both if we don't need to.
quoted = self.compiler.quoted
return sg.select(
sge.Star(
Expand Down

0 comments on commit 6695186

Please sign in to comment.