New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQueryClient.sql doesn't work, has no method `_get_schema_using_query` #1463

tsdlovell opened this Issue Jun 1, 2018 · 0 comments


None yet
1 participant

tsdlovell commented Jun 1, 2018

In [3]: type(client)
Out[3]: ibis.bigquery.client.BigQueryClient

In [4]: expr = client.sql('select count(*) from raw')
AttributeError                            Traceback (most recent call last)
<ipython-input-4-59eb21b118d6> in <module>()
----> 1 expr = client.sql('select count(*) from raw')

<elided-path>/lib/python3.5/site-packages/ibis/ in sql(self, query)
    160         # there is already a limit in the query, we find and remove it
    161         limited_query = 'SELECT * FROM ({}) t0 LIMIT 0'.format(query)
--> 162         schema = self._get_schema_using_query(limited_query)
    164         node = ops.SQLQueryResult(query, schema, self)

AttributeError: 'BigQueryClient' object has no attribute '_get_schema_using_query'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment