We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please add error catcher to _transform method of ParquetTransformer class:
_transform(row, encoding, callback) { if (row) { this.writer.appendRow(row).then(callback).catch((error) => callback(error)); } else { callback(); } }
It allows to listen error on the stream object.
The text was updated successfully, but these errors were encountered:
@annfomenko I think your suggestion also solves the problem of founding a error when applying schema in stream process.
I would make the PR but contributors agreement is not available anymore.
Based on the current code the _transform function should look like this:
_transform(row, encoding, callback) { if (row) { this.writer .appendRow(row) .then((d) => callback(null, d), callback) .catch((error) => callback(error)); } else { callback(); } }
Edited: It is an already open PR to solve that --> #46
Sorry, something went wrong.
No branches or pull requests
Please add error catcher to _transform method of ParquetTransformer class:
It allows to listen error on the stream object.
The text was updated successfully, but these errors were encountered: