alamb opened a new pull request, #9968:
URL: https://github.com/apache/arrow-datafusion/pull/9968

   …hould be rewritten in OperatorToFunction'
   
   ## Which issue does this PR close?
   
   N/A
   
   ## Rationale for this change
   
   When upgrading DataFusion internally we actually saw Panic's (due to a bug 
in our code): 
   
   > level=error msg="Thread panic" panic_type=unknown panic_message="internal 
error: entered unreachable code: NamedStructField should be rewritten in 
OperatorToFunction" 
panic_file=/usr/local/cargo/git/checkouts/arrow-datafusion-cd9c4a788846b2bd/f16c211/datafusion/physical-expr/src/planner.rs
 panic_line=233 panic_column=21 target="panic_logging" 
location="panic_logging/src/lib.rs:54" time=1712340032101586067
   
   ## What changes are included in this PR?
   Convert the errors from panic to internal error
   
   ## Are these changes tested?
   No
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   2. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are 
they covered by existing tests)?
   -->
   
   ## Are there any user-facing changes?
   
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->
   


-- 
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]

Reply via email to