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

chore: clean the code by using as_primitive #4143

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

Weijun-H
Copy link
Member

Which issue does this PR close?

Closes #.

Rationale for this change

replace

as_any()
            .downcast_ref::<PrimitiveArray<FROM>>()
            .unwrap(),

to

as_any().as_primitive::<From>()

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants