We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to use Ibis to query sharded BigQuery tables via the wildcard syntax. Ibis seems to accept wildcards in table names, e.g.
t = con.table('my_sharded_table*')
works and gives me the correct schema of the sharded table. However, it seems that I cannot limit the range of the shards via _TABLE_SUFFIX. With
_TABLE_SUFFIX
t.filter(_._TABLE_SUFFIX >= '20240613')
I get AttributeError: 'Table' object has no attribute '_TABLE_SUFFIX'
AttributeError: 'Table' object has no attribute '_TABLE_SUFFIX'
Sharded tables are (still) commonplace in BigQuery and to query them we need support for the _TABLE_SUFFIX pseudo-column.
I would like the following code to work:
import ibis from ibis import _ con = ibis.bigquery.connect() t = con.table('some_sharded_table*') t.filter(_._TABLE_SUFFIX >= '20240613')
9.0.0
BigQuery
The text was updated successfully, but these errors were encountered:
@martin-wiebusch-thg Thanks for the issue, looks like a good feature to add!
Sorry, something went wrong.
62a25c4
Successfully merging a pull request may close this issue.
Is your feature request related to a problem?
I would like to use Ibis to query sharded BigQuery tables via the wildcard syntax. Ibis seems to accept wildcards in table names, e.g.
works and gives me the correct schema of the sharded table. However, it seems that I cannot limit the range of the shards via
_TABLE_SUFFIX
. WithI get
AttributeError: 'Table' object has no attribute '_TABLE_SUFFIX'
What is the motivation behind your request?
Sharded tables are (still) commonplace in BigQuery and to query them we need support for the
_TABLE_SUFFIX
pseudo-column.Describe the solution you'd like
I would like the following code to work:
What version of ibis are you running?
9.0.0
What backend(s) are you using, if any?
BigQuery
Code of Conduct
The text was updated successfully, but these errors were encountered: