| 2066 | } |
| 2067 | |
| 2068 | std::string printExprWithStats(const exec::ExprSet& exprSet) { |
| 2069 | const auto& exprs = exprSet.exprs(); |
| 2070 | std::unordered_map<const exec::Expr*, uint32_t> uniqueExprs; |
| 2071 | std::stringstream out; |
| 2072 | for (auto i = 0; i < exprs.size(); ++i) { |
| 2073 | if (i > 0) { |
| 2074 | out << std::endl; |
| 2075 | } |
| 2076 | printExprTree(*exprs[i], "", true /*withStats*/, out, uniqueExprs); |
| 2077 | } |
| 2078 | return out.str(); |
| 2079 | } |
| 2080 | |
| 2081 | void SimpleExpressionEvaluator::evaluate( |
| 2082 | exec::ExprSet* exprSet, |