2010YOUY01 opened a new issue, #18613: URL: https://github.com/apache/datafusion/issues/18613
### Is your feature request related to a problem or challenge? https://github.com/apache/datafusion/pull/18511 has introduced a macro for easier internal invariant check, this issue is tracking the progress to refactor with this macro. The potential places to refactor can be found with ```sh # under datafusion/ # Find all patterns match: line k includes 'if', line k+1 includes 'internal_err' rg -U -P 'if.*\r?\n.*internal_err' ``` There are 100+ matched patterns, we can update them incrementally to avoid merge conflicts. Here are the major paths to update: - [ ] datafusion/sql - [ ] datafusion/spark - [ ] datafusion/physical-plan - [ ] datafusion/physical-optimizer - [ ] datafusion/physical-expr-common - [ ] datafusion/physical-expr - [ ] datafusion/optimizer - [ ] datafusion/functions-nested - [ ] datafusion/functions-aggregate - [ ] datafusion/functions - [ ] datafusion/expr - [ ] datafusion/expr-common - [ ] datafusion/datasource - [ ] datafusion/common ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
