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

[Go][Parquet] Improve the error messages in the row group writer #36319

Closed
wolfeidau opened this issue Jun 27, 2023 · 0 comments · Fixed by #36320
Closed

[Go][Parquet] Improve the error messages in the row group writer #36319

wolfeidau opened this issue Jun 27, 2023 · 0 comments · Fixed by #36320

Comments

@wolfeidau
Copy link
Contributor

wolfeidau commented Jun 27, 2023

Describe the enhancement requested

I am using the parquet writer and encountered some ambiguous error messages, when i dived into the code I found some helpful information which would we can add to these messages.

Message as follows

return xerrors.New("row mismatch error")

It would be great to make this better for the next person.

Component(s)

Go

zeroshade pushed a commit that referenced this issue Jul 5, 2023
)

### Rationale for this change

### What changes are included in this PR?

Updated error messages for mismatched column row counts to help identify the column, or rowgroup index which failed the check, and how many rows were expected vs found.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.

* Closes: #36319

Authored-by: Mark Wolfe <mark@wolfe.id.au>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
@zeroshade zeroshade added this to the 13.0.0 milestone Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants