mpeterson-p4 commented on a change in pull request #11324:
URL: https://github.com/apache/arrow/pull/11324#discussion_r727368711
##########
File path: r/tests/testthat/test-schema.R
##########
@@ -38,6 +38,20 @@ test_that("Schema print method", {
)
})
+test_that("Schema with non-nullable fields", {
+ expect_output(
+ print(schema(b = double(), c = list(bool(), NULL, FALSE), d = string())),
Review comment:
Sure - that sounds good on my end, and still allows for metadata to be
added later once that's supported in the Field() class. I'll make that
change/update the tests and docs.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]