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

Make arrow_cast::parse_data_type public #11251

Closed

Conversation

samuelcolvin
Copy link
Contributor

Rationale for this change

Until apache/arrow-rs#3821 gets closed and parse_data_type gets moved to arrow-rs, it would be extremely helpful for us if parse_data_type was public.

Currently we have some home rolled logic for inferring arrow datatypes from strings when we define schema in toml files.

What changes are included in this PR?

datafusion::functions::core::arrow_cast::parse_data_type

Is now public

Are these changes tested?

I tried to add a test for this specifically in datafusion/functions/src/core/arrow_cast.rs but it works regardless of whether the function is public. Let me know if you'd like me to add a test somewhere else?

Are there any user-facing changes?

datafusion::functions::core::arrow_cast::parse_data_type

Is now public

@samuelcolvin samuelcolvin changed the title Marrow_cast::parse_data_type public Make arrow_cast::parse_data_type public Jul 3, 2024
@samuelcolvin
Copy link
Contributor Author

I've assuming this will be refused due to the outstanding issue, so I've implemented apache/arrow-rs#5994.

@samuelcolvin
Copy link
Contributor Author

Closing in favor of apache/arrow-rs#5994.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant