alamb opened a new pull request, #7837: URL: https://github.com/apache/arrow-datafusion/pull/7837
## Which issue does this PR close? Follow on to https://github.com/apache/arrow-datafusion/pull/7629 ## Rationale for this change I noticed some panics while reviewing https://github.com/apache/arrow-datafusion/pull/7629 from @jayzhan211 but I didn't want to delay merging that PR any longer. ## What changes are included in this PR? This commit avoids panics in the error handling in the ScalarValue::List protobuf encoding by using the `?` operator instead unwrap. It also removes some unused variants that are no longer used after https://github.com/apache/arrow-datafusion/pull/7629 ## Are these changes tested? By existing tests and the rust compiler ## Are there any user-facing changes? Less panics on bad data -- 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]
