Skip to content

fix(oracle): return a sqlglot.DataType, not str, when compiling string dtype #11124

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

Merged
merged 2 commits into from
Apr 15, 2025

Conversation

NickCrews
Copy link
Contributor

Splitting out this fix for Oracle from #11100

I wasn't sure how to test this. If you have an idea, let me know, otherwise I think I'm fine getting this in with no test. It is about to be tested once #11100 lands.

@github-actions github-actions bot added the sql Backends that generate SQL label Apr 15, 2025
@NickCrews NickCrews added datatypes Issues relating to ibis's datatypes (under `ibis.expr.datatypes`) oracle The Oracle backend and removed sql Backends that generate SQL labels Apr 15, 2025
@cpcloud cpcloud changed the title fix(oracle): return a sqlglot.DatatType, not str, when compiling string dtype fix(oracle): return a sqlglot.DataType, not str, when compiling string dtype Apr 15, 2025
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.

Looks good, let me add a test real quick!

@cpcloud cpcloud force-pushed the oracle-string-dtype-compile branch from 18d1cdb to 5c1e6fa Compare April 15, 2025 14:49
@github-actions github-actions bot added tests Issues or PRs related to tests sql Backends that generate SQL labels Apr 15, 2025
@cpcloud cpcloud merged commit 99be73b into ibis-project:main Apr 15, 2025
112 of 113 checks passed
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`) oracle The Oracle backend sql Backends that generate SQL tests Issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants