Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return Error when parquet reader fails rather than no data with println! #1837

Merged
merged 5 commits into from
Feb 16, 2022

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Feb 15, 2022

Which issue does this PR close?

Fixes: #1767 (cc @andygrove )
I believe this also fixes #1651 (cc @thinkharderdev )

Rationale for this change

Errors are getting ignored during processing. See #1767 for details

What changes are included in this PR?

  1. Send the error back to the ParquetExec stream
  2. Tests for same

Are there any user-facing changes?

Errors are reported when there are real errors

@github-actions github-actions bot added the datafusion Changes in the datafusion crate label Feb 15, 2022
"+-----+----+----+",
];
assert_batches_sorted_eq!(expected, &read);
assert_contains!(read.unwrap_err().to_string(),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test should have always failed -- see #1622 (comment)

@Dandandan Dandandan merged commit 31efeab into apache:master Feb 16, 2022
@alamb alamb deleted the alamb/fix_parquet_read_error branch August 8, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
4 participants