| 40 | } |
| 41 | |
| 42 | static void compileFunc(FunctionBindData* bindData, |
| 43 | const std::vector<std::shared_ptr<ValueVector>>& parameters, |
| 44 | std::shared_ptr<ValueVector>& result) { |
| 45 | DASSERT(parameters[0]->dataType.getPhysicalType() == PhysicalTypeID::LIST); |
| 46 | auto& propertiesBindData = bindData->cast<PropertiesBindData>(); |
| 47 | auto fieldVector = StructVector::getFieldVector(ListVector::getDataVector(parameters[0].get()), |
| 48 | propertiesBindData.childIdx); |
| 49 | ListVector::setDataVector(result.get(), fieldVector); |
| 50 | } |
| 51 | |
| 52 | static void execFunc(const std::vector<std::shared_ptr<common::ValueVector>>& parameters, |
| 53 | const std::vector<common::SelectionVector*>& parameterSelVectors, common::ValueVector& result, |
no test coverage detected