浏览代码

Merge pull request #8249 from ghalliday/issue14972

HPCC-14972 Fix problems passing rows to REMOTE() graphs

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 年之前
父节点
当前提交
175d10eee4
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 1
      ecl/hqlcpp/hqlhtcpp.cpp
  2. 1 0
      ecl/hqlcpp/hqlinline.cpp

+ 3 - 1
ecl/hqlcpp/hqlhtcpp.cpp

@@ -7061,7 +7061,9 @@ BoundRow * HqlCppTranslator::bindSelectorAsSelf(BuildCtx & ctx, IReferenceSelect
     }
 
     //Need to bind a delta address to a new variable.
-//  throwUnexpected();  // check this is actually called
+    if (!rootRow->queryBuilder())
+        UNIMPLEMENTED_X("expected a row builder");
+
     CHqlBoundExpr offset;
     selector->getOffset(ctx, offset);
     CHqlBoundExpr address;

+ 1 - 0
ecl/hqlcpp/hqlinline.cpp

@@ -1004,6 +1004,7 @@ void ParentExtract::beginCreateExtract(BuildCtx & ctx, bool doDeclare)
     //Collect a list of cursors together... NB these are in reverse order..
     gatherActiveRows(*buildctx);
 
+    serialization->BoundRow::setBuilder(queryExtractName());
     childSerialization->setBuilder(this);
 }