File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 5454def 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):
6874def 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"
You can’t perform that action at this time.
0 commit comments