You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2020/02/26 14:37:00 UTC

[jira] [Commented] (ARROW-7945) [C++][Dataset] Implement InMemoryDatasetFactory

    [ https://issues.apache.org/jira/browse/ARROW-7945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045585#comment-17045585 ] 

Krisztian Szucs commented on ARROW-7945:
----------------------------------------

We also should have convenience factories for InMemoryDataset, see discussion https://github.com/apache/arrow/pull/6470/files/881ee8538a2cd0c3173feb9c370b5da69388b5f4#r384503399

{code:cpp}
InMemoryDataset::Make(Table);
InMemoryDataset::Make(std::vector<RecordBatch>);  // all record batches should have the same schema
{code}

> [C++][Dataset] Implement InMemoryDatasetFactory
> -----------------------------------------------
>
>                 Key: ARROW-7945
>                 URL: https://issues.apache.org/jira/browse/ARROW-7945
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, C++ - Dataset
>    Affects Versions: 0.16.0
>            Reporter: Ben Kietzman
>            Assignee: Ben Kietzman
>            Priority: Major
>             Fix For: 1.0.0
>
>
> This will allow in memory datasets (such as tables) to participate in discovery through {{UnionDatasetFactory}}. This class will be trivial since Inspect will do nothing but return the table's schema, but is necessary to ensure that the resulting {{UnionDataset}}'s unified schema accommodates the table's schema (for example including fields present only in the table's schema or emitting an error when unification is not possible)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)