dqkqd commented on code in PR #17921:
URL: https://github.com/apache/datafusion/pull/17921#discussion_r2404660062
##########
datafusion/datasource/src/write/demux.rs:
##########
@@ -329,7 +322,7 @@ async fn hive_style_partitions_demuxer(
// Finally send the partial batch partitioned by distinct value!
part_tx.send(final_batch_to_send).await.map_err(|_| {
- DataFusionError::Internal("Unexpected error sending parted
batch!".into())
+ exec_datafusion_err!("Unexpected error sending parted batch!")
Review Comment:
I think this should be an internal error
```suggestion
internal_datafusion_err!("Unexpected error sending parted
batch!")
```
--
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]