025b3007100305409f3b3bdeff1741f46b5d31de,google/datalab/contrib/bigquery/commands/_bigquery.py,,_get_load_parameters,#,97
Before Change
// gcs->table (or load) step, so we take that as the input table (and emit a load
// operator).
source_of_table = bq_pipeline_output_config
load_task_config["table"] = source_of_table.get("table")
// If a table or path are absent, there is no load to be done so we return None
if load_task_config["table"] is None or load_task_config["path"] is None:
return None
After Change
load_task_config = {"type": "pydatalab.bq.load"}
// The path URL of the GCS load file(s).
if "path" not in bq_pipeline_input_config:
return None
// The path URL of the GCS load file(s), and associated parameters
load_task_config["path"] = bq_pipeline_input_config.get("path")
if "format" in bq_pipeline_input_config:
load_task_config["format"] = bq_pipeline_input_config["format"]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: googledatalab/pydatalab
Commit Name: 025b3007100305409f3b3bdeff1741f46b5d31de
Time: 2017-10-30
Author: 4618540+rajivpb@users.noreply.github.com
File Name: google/datalab/contrib/bigquery/commands/_bigquery.py
Class Name:
Method Name: _get_load_parameters
Project Name: unitedstates/congress-legislators
Commit Name: 160d032b65a8fffd33ca384c032840251eee19cc
Time: 2013-01-02
Author: operations@govtrack.us
File Name: scripts/process_election_results.py
Class Name:
Method Name:
Project Name: pandas-dev/pandas
Commit Name: 7d7880d71357ec999a365f2bc3e92534f4472df8
Time: 2020-12-23
Author: 37011898+mzeitlin11@users.noreply.github.com
File Name: pandas/tests/plotting/common.py
Class Name:
Method Name: _gen_two_subplots