소스 검색

HPCC-7831 filterprojects fail in child queries

Some folded filter projects generated as activity type TAKfilterproject by
the code generator, were causing Thor queries to fail if they appeared in
child queries. Resulting in error "Global child graph? : Global acts = .."

Fixes HPCC-7831

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 12 년 전
부모
커밋
844f72346d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      thorlcr/graph/thgraph.cpp

+ 2 - 1
thorlcr/graph/thgraph.cpp

@@ -908,6 +908,7 @@ bool isGlobalActivity(CGraphElementBase &container)
 // always local
         case TAKcountdisk:
         case TAKfilter:
+        case TAKfilterproject:
         case TAKsplit:
         case TAKpipewrite:
         case TAKdegroup:
@@ -1797,7 +1798,7 @@ StringBuffer &getGlobals(CGraphBase &graph, StringBuffer &str)
 
             ThorActivityKind kind = e.getKind();
             str.append(activityKindStr(kind));
-            str.append("(").append(kind).append(")");
+            str.append("(").append(e.queryId()).append(")");
         }
     }
     if (!first)