| 165 | } |
| 166 | |
| 167 | std::unique_ptr<substrait::Version> CreateTestVersion() { |
| 168 | auto version = std::make_unique<substrait::Version>(); |
| 169 | version->set_major_number(std::numeric_limits<uint32_t>::max()); |
| 170 | version->set_minor_number(std::numeric_limits<uint32_t>::max()); |
| 171 | version->set_patch_number(std::numeric_limits<uint32_t>::max()); |
| 172 | version->set_producer("Arrow unit test"); |
| 173 | return version; |
| 174 | } |
| 175 | |
| 176 | Result<std::unique_ptr<substrait::Plan>> CreatePlan(std::unique_ptr<substrait::Rel> root, |
| 177 | ExtensionSet* ext_set) { |