File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -332,10 +332,6 @@ def _run_execute_query(
332
332
if not self .strictly_ordered :
333
333
job_config .labels ["bigframes-mode" ] = "unordered"
334
334
335
- # Note: add_and_trim_labels is global scope which may have unexpected effects
336
- # Ensure no additional labels are added to job_config after this point,
337
- # as `add_and_trim_labels` ensures the label count does not exceed 64.
338
- bq_io .add_and_trim_labels (job_config , api_name = api_name )
339
335
try :
340
336
iterator , query_job = bq_io .start_query_with_client (
341
337
self .bqclient ,
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ def read_gbq_table(
292
292
index_col : Iterable [str ] | str | bigframes .enums .DefaultIndexKind = (),
293
293
columns : Iterable [str ] = (),
294
294
max_results : Optional [int ] = None ,
295
- api_name : str ,
295
+ api_name : str = "read_gbq_table" ,
296
296
use_cache : bool = True ,
297
297
filters : third_party_pandas_gbq .FiltersType = (),
298
298
enable_snapshot : bool = True ,
@@ -401,7 +401,7 @@ def read_gbq_table(
401
401
query ,
402
402
index_col = index_cols ,
403
403
columns = columns ,
404
- api_name = "read_gbq_table" ,
404
+ api_name = api_name ,
405
405
use_cache = use_cache ,
406
406
)
407
407
You can’t perform that action at this time.
0 commit comments