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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: master, 6.11/02
    • Fix Version/s: 6.12/00, 6.14/00
    • Component/s: Other
    • Labels:
      None
    • Environment:

      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

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

                Dates

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