Skip to content
Snippets Groups Projects
Commit 9ffb8fe0 authored by Enrico Guiraud's avatar Enrico Guiraud Committed by Danilo Piparo
Browse files

[TDF] Let Report still behave as if Define returned a new node

parent 9bd39103
No related branches found
No related tags found
No related merge requests found
......@@ -1103,6 +1103,12 @@ public:
/// order as the named filters have been added to the graph.
void Report()
{
// if this is a TInterface<TLoopManager> on which `Define` has been called, users
// are calling `Report` on a chain of the form LoopManager->Define->Define->..., which
// certainly does not contain named filters.
if (std::is_same<Proxied, TLoopManager>::value && !fValidCustomColumns.empty())
return;
auto df = GetDataFrameChecked();
if (!df->HasRunAtLeastOnce())
df->Run();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment