jinchengchenghh commented on code in PR #8380:
URL: https://github.com/apache/incubator-gluten/pull/8380#discussion_r1919451701
##########
cpp/velox/substrait/SubstraitToVeloxPlan.cc:
##########
@@ -1206,6 +1207,24 @@ core::PlanNodePtr
SubstraitToVeloxPlanConverter::constructValueStreamNode(
return node;
}
+core::PlanNodePtr SubstraitToVeloxPlanConverter::constructValuesNode(
+ const ::substrait::ReadRel& readRel,
+ int32_t streamIdx) {
+ std::vector<RowVectorPtr> values;
+ VELOX_CHECK_LT(streamIdx, inputIters_.size(), "Could not find stream index
{} in input iterator list.", streamIdx);
+ const auto iterator = inputIters_[streamIdx];
+ while (iterator->hasNext()) {
+ auto cb = VeloxColumnarBatch::from(defaultLeafVeloxMemoryPool().get(),
iterator->next());
Review Comment:
This is only used in benchmark, so we don't need to track it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]