Skip to content

Conversation

@XiangpengHao
Copy link
Collaborator

closes #16

We only rely on type_name.parse::<DataType>() to decide whether a type string is valid, I think this is consistent with the arrow_cast behavior in datafusion: https://github.com/apache/datafusion/blob/377c0fce481d561d58e3a6fad2dca18cb1d58384/datafusion/functions/src/core/arrow_cast.rs#L143-L147

Added a few more test cases along the way.

Copy link
Member

@friendlymatthew friendlymatthew left a comment

Choose a reason for hiding this comment

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

Looks great. Thank you very much @XiangpengHao

@friendlymatthew friendlymatthew merged commit 29c4c60 into datafusion-contrib:main Nov 13, 2025
3 checks passed
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.

variant_get with type

2 participants