Skip to content

Conversation

@nealrichardson
Copy link
Member

No description provided.

@github-actions
Copy link

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

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

Why does int64 use Converter_Int64 but the other types are handled differently?


u64 <- Array$create(1L)$cast(uint64())
expect_identical(as.vector(u64), 1)
})
Copy link
Member

Choose a reason for hiding this comment

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

Those tests are thorough!

@nealrichardson
Copy link
Member Author

Why does int64 use Converter_Int64 but the other types are handled differently?

Historical reasons I suppose. See also this discussion: #7441 (comment)

@nealrichardson
Copy link
Member Author

Deferring to https://jira.apache.org/jira/browse/ARROW-9083 questions of whether there are better ways to convert. This at least no longer errors and gives something usable.

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.

2 participants