Last active
June 18, 2019 00:18
-
-
Save tuannvm/1713fccebb930ffcd9a99b9d9a5709aa to your computer and use it in GitHub Desktop.
#bigquery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [2019-05-21 08:34:07,793] {{logging_mixin.py:95}} WARNING - /usr/local/lib/python3.6/site-packages/airflow/contrib/hooks/bigquery_hook.py:117: FutureWarning: verbose is deprecated and will be removed in a future version. Set logging level in order to vary verbosity | |
| verbose=False) | |
| [2019-05-21 08:34:07,835] {{__init__.py:1580}} ERROR - __init__() takes 2 positional arguments but 3 were given | |
| Traceback (most recent call last): | |
| File "/usr/local/lib/python3.6/site-packages/airflow/models/__init__.py", line 1441, in _run_raw_task | |
| result = task_copy.execute(context=context) | |
| File "/usr/local/lib/python3.6/site-packages/airflow/operators/python_operator.py", line 112, in execute | |
| return_value = self.execute_callable() | |
| File "/usr/local/lib/python3.6/site-packages/airflow/operators/python_operator.py", line 117, in execute_callable | |
| return self.python_callable(*self.op_args, **self.op_kwargs) | |
| File "/usr/local/lib/python3.6/site-packages/airflow/contrib/hooks/bigquery_hook.py", line 117, in get_pandas_df | |
| verbose=False) | |
| File "/usr/local/airflow/.local/lib/python3.6/site-packages/pandas_gbq/gbq.py", line 924, in read_gbq | |
| use_bqstorage_api=use_bqstorage_api, | |
| File "/usr/local/airflow/.local/lib/python3.6/site-packages/pandas_gbq/gbq.py", line 362, in __init__ | |
| self.client = self.get_client() | |
| File "/usr/local/airflow/.local/lib/python3.6/site-packages/pandas_gbq/gbq.py", line 396, in get_client | |
| project=self.project_id, credentials=self.credentials | |
| File "/usr/local/airflow/.local/lib/python3.6/site-packages/google/cloud/bigquery/client.py", line 161, in __init__ | |
| self._connection = Connection(self, client_info=client_info) | |
| File "/usr/local/airflow/.local/lib/python3.6/site-packages/google/cloud/bigquery/_http.py", line 33, in __init__ | |
| super(Connection, self).__init__(client, client_info) | |
| TypeError: __init__() takes 2 positional arguments but 3 were given |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment