You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/06/23 14:35:55 UTC
[GitHub] [arrow] romainfrancois commented on a change in pull request #7524: ARROW-8899 [R] Add R metadata like pandas metadata for round-trip fidelity
romainfrancois commented on a change in pull request #7524:
URL: https://github.com/apache/arrow/pull/7524#discussion_r444273703
##########
File path: r/tests/testthat/test-Table.R
##########
@@ -334,5 +334,5 @@ test_that("Table metadata", {
test_that("Table handles null type (ARROW-7064)", {
tab <- Table$create(a = 1:10, n = vctrs::unspecified(10))
- expect_equal(tab$schema, schema(a = int32(), n = null()))
+ expect_true(tab$schema$Equals(schema(a = int32(), n = null()), FALSE))
Review comment:
Maybe `vctrs::unspecified()` can be special cased so that it does not generate additional info in the schema (it's just the class) here.
Or maybe the equality operator could disregard the metadata altogether (i.e. changing the default).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org