andygrove opened a new issue, #3318:
URL: https://github.com/apache/arrow-datafusion/issues/3318
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
```
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/build.rs":33
let descriptor_path =
std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap())
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/build.rs":43
let descriptor_set = std::fs::read(descriptor_path).unwrap();
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/build.rs":46
.unwrap()
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/bytes/mod.rs":140
let back: protobuf::LogicalPlanNode = serde_json::from_str(json).unwrap();
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/from_proto.rs":381
.unwrap()
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/from_proto.rs":384
.unwrap()
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/from_proto.rs":573
field_names.last().unwrap().as_str(),
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/from_proto.rs":678
field_names.last().unwrap(),
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/from_proto.rs":1317
panic!("Expected a Vec of length {} but it was {}", N, v.len())
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/logical_plan.rs":418
.map(|p| ListingTableUrl::parse(p).unwrap())
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/logical_plan.rs":656
let mut builder =
LogicalPlanBuilder::from(input_plans.pop().unwrap());
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/to_proto.rs":227
unimplemented!("The Decimal256 data type is not yet supported")
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/to_proto.rs":230
unimplemented!("The Map data type is not yet supported")
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/to_proto.rs":561
Expr::ScalarVariable(_, _) => unimplemented!(),
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/to_proto.rs":769
unimplemented!("subquery expressions are not supported yet")
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/to_proto.rs":814
Expr::QualifiedWildcard { .. } | Expr::TryCast { .. } =>
unimplemented!(),
"/home/andy/git/apache/arrow-datafusion/datafusion/proto/src/to_proto.rs":911
todo!("Proper error handling {}", unsupported)
```
**Describe the solution you'd like**
Use `Result` instead.
**Describe alternatives you've considered**
None
**Additional context**
Generated by https://github.com/andygrove/no-need-to-panic
--
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]