[[arrow::export]]
| 53 | |
| 54 | // [[arrow::export]] |
| 55 | std::string compute___expr__get_field_ref_name( |
| 56 | const std::shared_ptr<compute::Expression>& x) { |
| 57 | if (auto field_ref = x->field_ref()) { |
| 58 | // Exclude nested field refs because we only use this to determine if we have simple |
| 59 | // field refs |
| 60 | if (!field_ref->IsNested()) { |
| 61 | return *field_ref->name(); |
| 62 | } |
| 63 | } |
| 64 | return ""; |
| 65 | } |
| 66 | |
| 67 | // [[arrow::export]] |
| 68 | std::vector<std::string> compute___expr__field_names_in_expression( |
no test coverage detected