Skip to content

feat: add streaming.StreamingDataFrame class #864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jul 31, 2024
Merged
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
GarrettWu committed Jul 29, 2024
commit 3ceb6f4a62845e2f067b853c99ad94a518e6e5cc
5 changes: 4 additions & 1 deletion bigframes/session/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
import bigframes.session._io.bigquery.read_gbq_table as bf_read_gbq_table
import bigframes.session.clients
import bigframes.session.planner
import bigframes.streaming
import bigframes.version

# Avoid circular imports.
Expand Down Expand Up @@ -749,7 +750,9 @@ def read_gbq_table(
filters=filters,
)

def read_gbq_table_streaming(self, table):
def read_gbq_table_streaming(
self, table: str
) -> bigframes.streaming.StreamingDataFrame:
"""Turn a BigQuery table into a StreamingDataFrame.

**Examples:**
Expand Down