Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9117

TDF: Reports on Filters booked after the first event loop do not re-trigger the event loop

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • master, 6.11/02
    • 6.12/00, 6.14/00
    • Other
    • None
    • any

    Description

      Reproducer:

      #include <ROOT/TDataFrame.hxx>
      using namespace ROOT::Experimental;
       
      void testReport()
      {
         TDataFrame d_(10);
         auto d = d_.Define("x", "(int) tdfentry_");
         auto dF = d.Filter([](int x) { return x > 3; }, {"x"}, "f1").Filter([](int x) { return x > 5; }, {"x"}, "f2");
        dF.Report();
         auto dFF = dF.Filter([](int x) { return x > 8; }, {"x"}, "f3");
         dFF.Report();
      }
       
      int main()
      {
         testReport();
         return 0;
      }

      The output shows that "f3" is never called (it's report is empty).

      Attachments

        Issue Links

          Activity

            People

              eguiraud Enrico Guiraud
              eguiraud Enrico Guiraud
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Actual Start:
                Actual End: