Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sqlmesh/core/engine_adapter/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
if t.TYPE_CHECKING:
from google.cloud.bigquery.client import Client as BigQueryClient
from google.cloud.bigquery.client import Connection as BigQueryConnection
from google.cloud.bigquery.query import _QueryResults as BigQueryQueryResults
from google.cloud.bigquery.job.base import _AsyncJob as BigQueryQueryResult
from google.cloud.bigquery.table import Table as BigQueryTable

from sqlmesh.core._typing import TableName
Expand Down Expand Up @@ -63,7 +63,7 @@ def __load_pandas_to_temp_table(
table: TableName,
df: pd.DataFrame,
columns_to_types: t.Dict[str, exp.DataType],
) -> t.Tuple[BigQueryQueryResults, str]:
) -> t.Tuple[BigQueryQueryResult, str]:
"""
Loads a pandas dataframe into a temporary table in BigQuery. Returns the result of the load and the name of the
temporary table. The temporary table will be deleted after 3 hours.
Expand Down