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 2021/11/23 00:32:26 UTC
[GitHub] [arrow] jonkeane commented on a change in pull request #11751: ARROW-14694: [R] Let me dput a schema
jonkeane commented on a change in pull request #11751:
URL: https://github.com/apache/arrow/pull/11751#discussion_r754732325
##########
File path: r/R/type.R
##########
@@ -40,7 +40,8 @@ DataType <- R6Class("DataType",
fields = function() {
DataType__fields(self)
},
- export_to_c = function(ptr) ExportType(self, ptr)
+ export_to_c = function(ptr) ExportType(self, ptr),
+ code = function() call2("unknown_type", self$ToString())
Review comment:
Another way that we could test types that we don't have functions for (though that's really only useful insofar as we are creating skipped tests with jiras to implement them...) would be to create an object with a schema and then cast values to the types that we don't have direct support for.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org