You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnionDataset allows Fragments of multiple schemas and differing file formats to be scanned together as a single Dataset. This is useful functionality but makes the Dataset interface somewhat difficult to reason about since it must be general enough to accommodate UnionDataset.
After ARROW-11928 it will probably be more natural to support unioning of datasets through a subclass of ExecNode. Reconciliation of differing schemas can then be trivially handled by a full ProjectNode.
Note this would obviate both ARROW-11001 and ARROW-11749. In addition, Dataset could be simplified to a concrete class containing a set of compatibly typed/formatted Fragments.
David Li / @lidavidm:
(I usually go by lidavidm since my name is rather common, but I wonder if I shouldn't just change my name sometimes…)
To Weston's question - I think that's the plan, to have datasets as just another note in the pipeline, and to move projection/filtering into the pipeline and out of the datasets code.
UnionDataset allows Fragments of multiple schemas and differing file formats to be scanned together as a single Dataset. This is useful functionality but makes the Dataset interface somewhat difficult to reason about since it must be general enough to accommodate UnionDataset.
After ARROW-11928 it will probably be more natural to support unioning of datasets through a subclass of ExecNode. Reconciliation of differing schemas can then be trivially handled by a full ProjectNode.
Note this would obviate both ARROW-11001 and ARROW-11749. In addition, Dataset could be simplified to a concrete class containing a set of compatibly typed/formatted Fragments.
Reporter: Ben Kietzman / @bkietz
Assignee: Alexander Ocsa / @aocsa
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-11981. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: