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(datatypes): allow trailing comma in struct string shorthands #10393

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

NickCrews
Copy link
Contributor

@NickCrews NickCrews commented Oct 29, 2024

Now, dt.dtype("struct<a: int32, b: string,>") is allowed.

Related to #10391, where when testing my example I got an error when I didn't think I should.

@github-actions github-actions bot added tests Issues or PRs related to tests datatypes Issues relating to ibis's datatypes (under `ibis.expr.datatypes`) labels Oct 29, 2024
Now, `dt.dtype("struct<a: int32, b: string,>")` is allowed
@cpcloud cpcloud force-pushed the dt-parse-trailing-comma branch 2 times, most recently from 03d5609 to 6662f7f Compare October 30, 2024 12:42
@cpcloud cpcloud added this to the 10.0 milestone Oct 30, 2024
@cpcloud cpcloud added the ux User experience related issues label Oct 30, 2024
@cpcloud cpcloud changed the title feat(dt): allow trailing comma in struct string shorthands feat(datatypes): allow trailing comma in struct string shorthands Oct 30, 2024
@cpcloud cpcloud added the ci-run-cloud Add this label to trigger a run of BigQuery, Snowflake, and Databricks backends in CI label Oct 30, 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 Oct 30, 2024
@cpcloud cpcloud merged commit 858deb0 into ibis-project:main Oct 30, 2024
84 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`) tests Issues or PRs related to tests ux User experience related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants