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
{{ message }}
Repository navigation
[C++][Dataset] Let datasets be viewable with non-identical schema #24366
It would be useful to allow some schema unification capability after discovery has completed. For example, if a FileSystemDataset is being wrapped into a UnionDataset with another and their schemas are unifiable then there is no reason we can't create the UnionDataset (rather than emitting an error because the schemas are not identical).
I think this behavior will be most naturally expressed in C++ like so:
which will raise an error if the provided schema is not unifiable with the current dataset schema.
If this needs to be extended to non trivial projections then this will probably warrant a separate class, ProjectedDataset or so. Definitely follow up material (if desired)
Activity
asfimport commentedon Apr 9, 2020
Neal Richardson / @nealrichardson:
Issue resolved by pull request 6721
#6721