[DF] Use ROOT::Internal::TreeUtils functions in TreeHeadNode class#8605
Conversation
…tions The `get_treename` and `get_inputfiles` methods of `TreeHeadNode` now use the functions from the `ROOT::Internal::TreeUtils` namespace to retrieve information on the input tree of the distributed RDataFrame. If the user did not supply a TTree or TChain object, the functions still need to resort to some parsing of the constructor arguments.
|
Starting build on |
|
Build failed on ROOT-ubuntu16/nortcxxmod. Failing tests: |
eguiraud
left a comment
There was a problem hiding this comment.
LGTM, only minor comments
This commit removes the `DistRDF.HeadNode.FriendInfo` class in favor of using the information retrieved by the function `ROOT::Internal::TreeUtils::GetFriendInfo`. This function returns a struct of three vectors: 1. a vector of (name, alias) pairs of the friend trees 2. a vector of vectors containing the filenames of each friend tree 3. a vector of vectors containing the tree names of each subtree of a friend TChain, or just an empty vector if the friend is a TTree The logic in the `mapper` function has been also updated to iterate over the information contained in this struct and recreate the friend trees on the workers in a more consistent way then previously done, thus fixing root-project#7584
85a7870 to
8e871da
Compare
|
Starting build on |
|
Build failed on ROOT-performance-centos8-multicore/default. Errors:
|
|
Build failed on mac11.0/cxx17. Errors:
|
|
Build failed on mac1014/python3. Errors:
|
|
Build failed on ROOT-ubuntu16/nortcxxmod. Errors:
|
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-performance-centos8-multicore/default. Errors:
|
|
Build failed on mac1014/python3. Errors:
|
|
Build failed on mac11.0/cxx17. Errors:
|
|
Build failed on ROOT-ubuntu16/nortcxxmod. Errors:
|
|
Build failed on windows10/cxx14. Errors:
|
|
Build failed on ROOT-debian10-i386/cxx14. Errors:
|
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-ubuntu16/nortcxxmod. Errors:
|
|
Build failed on ROOT-debian10-i386/cxx14. Errors:
|
|
Build failed on ROOT-performance-centos8-multicore/default. Errors:
|
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-debian10-i386/cxx14. Errors:
|
|
Build failed on ROOT-ubuntu16/nortcxxmod. Errors:
|
|
Build failed on ROOT-performance-centos8-multicore/default. Errors:
|
|
Build failed on mac1014/python3. Errors:
|
|
Build failed on windows10/cxx14. Errors:
|
|
Build failed on mac11.0/cxx17. Errors:
|
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-performance-centos8-multicore/default. Errors:
|
|
Build failed on ROOT-debian10-i386/cxx14. Errors:
|
|
Build failed on ROOT-ubuntu16/nortcxxmod. Errors:
|
|
Build failed on mac11.0/cxx17. Errors:
|
|
Ok so at least one build was successful https://lcgapp-services.cern.ch/root-jenkins/job/root-pullrequests-build/122001/ so I will merge this |
fixes #7584
This PR addresses third step of #8391