Skip to content

Commit 5f985cf

Browse files
remove duration from load job tests
1 parent b8a2d19 commit 5f985cf

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

tests/system/small/test_session.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@
5454
def df_and_local_csv(scalars_df_index):
5555
# The auto detects of BigQuery load job have restrictions to detect the bytes,
5656
# datetime, numeric and geometry types, so they're skipped here.
57-
drop_columns = ["bytes_col", "datetime_col", "numeric_col", "geography_col"]
57+
drop_columns = [
58+
"bytes_col",
59+
"datetime_col",
60+
"numeric_col",
61+
"geography_col",
62+
"duration_col",
63+
]
5864
scalars_df_index = scalars_df_index.drop(columns=drop_columns)
5965

6066
with tempfile.TemporaryDirectory() as dir:
@@ -68,7 +74,13 @@ def df_and_local_csv(scalars_df_index):
6874
def df_and_gcs_csv(scalars_df_index, gcs_folder):
6975
# The auto detects of BigQuery load job have restrictions to detect the bytes,
7076
# datetime, numeric and geometry types, so they're skipped here.
71-
drop_columns = ["bytes_col", "datetime_col", "numeric_col", "geography_col"]
77+
drop_columns = [
78+
"bytes_col",
79+
"datetime_col",
80+
"numeric_col",
81+
"geography_col",
82+
"duration_col",
83+
]
7284
scalars_df_index = scalars_df_index.drop(columns=drop_columns)
7385

7486
path = gcs_folder + "test_read_csv_w_gcs_csv*.csv"

0 commit comments

Comments
 (0)