Skip to content
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

feat(dtypes): fall back to dt.unknown for unknown types #9576

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

gforsyth
Copy link
Member

We've had a number of issues where we haven't exposed a mapping to a
particular (usually Postgres) dtype.

We'll still have requests to provide useful mappings, depending on the
upstream dtype, but this should prevent users being unable to even open
a table because there's an unknown / user-defined dtype present in the
table.

To test, I've removed the special handling for the vector and
ts.vector types that we were explicitly mapping to dt.unknown.

Trying this one again...

We've had a number of issues where we haven't exposed a mapping to a
particular (usually Postgres) dtype.

We'll still have requests to provide useful mappings, depending on the
upstream dtype, but this should prevent users being unable to even open
a table because there's an unknown / user-defined dtype present in the
table.

To test, I've removed the special handling for the `vector` and
`ts.vector` types that we were explicitly mapping to `dt.unknown`.
@cpcloud cpcloud added this to the 9.2 milestone Jul 14, 2024
@cpcloud cpcloud added feature Features or general enhancements datatypes Issues relating to ibis's datatypes (under `ibis.expr.datatypes`) ci-run-cloud Add this label to trigger a run of BigQuery, Snowflake, and Databricks backends in CI labels Jul 14, 2024
@ibis-docs-bot ibis-docs-bot bot removed the ci-run-cloud Add this label to trigger a run of BigQuery, Snowflake, and Databricks backends in CI label Jul 14, 2024
@cpcloud cpcloud enabled auto-merge (squash) July 14, 2024 12:58
Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cpcloud cpcloud merged commit 56a10d2 into ibis-project:main Jul 14, 2024
83 checks passed
@gforsyth gforsyth deleted the unknown_unknowns branch July 15, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datatypes Issues relating to ibis's datatypes (under `ibis.expr.datatypes`) feature Features or general enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants