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(
332332 if not self .strictly_ordered :
333333 job_config .labels ["bigframes-mode" ] = "unordered"
334334
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 )
339335 try :
340336 iterator , query_job = bq_io .start_query_with_client (
341337 self .bqclient ,
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ def read_gbq_table(
292292 index_col : Iterable [str ] | str | bigframes .enums .DefaultIndexKind = (),
293293 columns : Iterable [str ] = (),
294294 max_results : Optional [int ] = None ,
295- api_name : str ,
295+ api_name : str = "read_gbq_table" ,
296296 use_cache : bool = True ,
297297 filters : third_party_pandas_gbq .FiltersType = (),
298298 enable_snapshot : bool = True ,
@@ -401,7 +401,7 @@ def read_gbq_table(
401401 query ,
402402 index_col = index_cols ,
403403 columns = columns ,
404- api_name = "read_gbq_table" ,
404+ api_name = api_name ,
405405 use_cache = use_cache ,
406406 )
407407
You can’t perform that action at this time.
0 commit comments