viirya commented on a change in pull request #1448:
URL: https://github.com/apache/arrow-rs/pull/1448#discussion_r827403115
##########
File path: parquet/src/arrow/array_reader.rs
##########
@@ -924,7 +927,7 @@ impl<OffsetSize: OffsetSizeTrait> ArrayReader for
ListArrayReader<OffsetSize> {
&& (rep_levels.len() == next_batch_array.len()))
{
return Err(ArrowError(
- "Expected item_reader def_levels and rep_levels to be same
length as batch".to_string(),
+ format!("Expected item_reader def_levels {} and rep_levels {}
to be same length as batch {}", def_levels.len(), rep_levels.len(),
next_batch_array.len()),
Review comment:
Purely for debugging purpose. I feel it is clear.
--
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]