Skip to content

Commit

Permalink
fix: add err info
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Oct 30, 2023
1 parent eaafb19 commit 011c057
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions datafusion/core/src/execution/context/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,10 @@ mod tests {
},
)
.await;
assert!(read_df.is_err());

assert_eq!(
read_df.unwrap_err().strip_backtrace(),
"Execution error: File extension 'parquet.snappy' does not match the expected extension '.parquet'"
);
Ok(())
}

Expand Down

0 comments on commit 011c057

Please sign in to comment.