Skip to content

Conversation

@eguiraud
Copy link
Contributor

@eguiraud eguiraud commented Jul 13, 2017

All actions and transformations now use the same method to decide what columns to act no: ROOT::Internal::TDF::SelectColumnNames. The method picks the necessary number of default columns if the user-provided list is absent. Throws in case of error.

The two separate old mechanisms to achieve the same (PickBranchNames and GetBranchNames+GetDefaultBranchNames) have been completely removed.

This PR does not introduce conflicts with #764, also related to TDF.

eguiraud added 9 commits July 13, 2017 13:52
SelectColumns chooses between the optional user-provided set of
column names and the default set. Throws in case of error. Picks
an incremental number of column names from the default set until
the required number is reached, instead of requiring that the
number of default branches is strictly equal to the number of
required branches for the transformation/action.
@phsft-bot
Copy link

Starting build on gcc49/centos7, native/mac1012, gcc49/slc6, gcc62/slc6, native/ubuntu14 with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@dpiparo
Copy link
Member

dpiparo commented Jul 13, 2017

Very nice upgrade of the code. This paves the way for a robust and flexible way of using data sources different from ROOT trees.

@dpiparo dpiparo merged commit 1f44cbe into root-project:master Jul 13, 2017
@eguiraud eguiraud deleted the check_columns branch July 13, 2017 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants