Skip to content

Commit 6695186

Browse files
committed
chore(bigquery): add comment about why the conversion is needed
1 parent e3dee78 commit 6695186

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ibis/backends/bigquery/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,11 @@ def _to_sqlglot(
697697
if not geocols:
698698
return query
699699

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

0 commit comments

Comments
 (0)