Registry Mirror
Skip to content

Conversation

@samuelcolvin

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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