diff --git a/gcloud_connectors/bigquery.py b/gcloud_connectors/bigquery.py index eb0c4c9..609873d 100644 --- a/gcloud_connectors/bigquery.py +++ b/gcloud_connectors/bigquery.py @@ -32,7 +32,7 @@ def get_pandas_dtypes(self, dataset, table): schema_dtypes = {} for schema in table.schema: if schema.field_type in ['STRING']: - type = 'string' + type = str elif schema.field_type in ['DATE', 'TIMESTAMP']: type = 'datetime64[ns]' elif schema.field_type in ['FLOAT']: diff --git a/setup.py b/setup.py index 52b5151..8403bda 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ def get_requirements(*requirements_file): return dependencies setup(name='gcloud-connectors', - version='0.1.21', + version='0.1.22', url='https://github.com/pualien/py-gcloud-connector', license='MIT', author='Matteo Senardi',