mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 17:15:39 +08:00
Update TODO
This commit is contained in:
1 parent
d6fa483e5a
commit
e2d334ad46
1 file changed
+2
-1
+2
-1
@@ -44,7 +44,8 @@ open_dataset <- function(sources, schema = NULL, partition = hive_partition(), .
|
||||
}
|
||||
assert_is_list_of(sources, "DataSourceDiscovery")
|
||||
if (is.null(schema)) {
|
||||
# TODO: we should align schemas across sources, not just take first one
|
||||
# TODO: there should be a DatasetFactory
|
||||
# https://jira.apache.org/jira/browse/ARROW-7380
|
||||
schema <- sources[[1]]$Inspect()
|
||||
}
|
||||
Dataset$create(map(sources, ~.$Finish(schema)), schema)
|
||||
|
||||
Reference in new issue
Block a user