Commits


Benjamin Kietzman authored and François Saint-Jacques committed 92f16e3feda
ARROW-6368: [C++][Dataset] Add interface for "projecting" RecordBatch from one schema to another, inserting null values where needed Provides classes for projecting record batches to a required schema. Closes #5207 from bkietz/6368-Add-RecordBatch-projectio and squashes the following commits: fdce9c96c <François Saint-Jacques> Fix record_batch glib 22480bad5 <Benjamin Kietzman> re-add ProjectedRecordBatchReader 2fb88d190 <Benjamin Kietzman> review comments 03199ea41 <Benjamin Kietzman> move dynamic schema handling into Projector b53f1445c <Benjamin Kietzman> RepeatedArrayFactory should output to Array rather than ArrayData c5193fd1b <Benjamin Kietzman> rename ReconcilingRecordBatchReader to Projected... 4eeaac8f1 <Benjamin Kietzman> remove redundant override 864542e0e <Benjamin Kietzman> add explicit cast for msvc c0a4d989d <Benjamin Kietzman> reconciliation iterator -> reader 8ed7578fb <Benjamin Kietzman> add projection including augmentation with a column derived from a scalar c5a2fe877 <Benjamin Kietzman> first pass at reconciling record batch iterator Lead-authored-by: Benjamin Kietzman <bengilgit@gmail.com> Co-authored-by: François Saint-Jacques <fsaintjacques@gmail.com> Signed-off-by: François Saint-Jacques <fsaintjacques@gmail.com>