You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/11/06 00:19:25 UTC
[GitHub] [iceberg] rdblue opened a new pull request #1730: Fix NullPointerException in ManifestReader
rdblue opened a new pull request #1730:
URL: https://github.com/apache/iceberg/pull/1730
This fixes a `NullPointerException` that is thrown by a `ManifestReader` for delete files when there is a query filter. The `DeleteFileIndex` projects all fields of a delete manifest, so it doesn't call `select` to select specific columns, unlike `ManifestGroup`, which selects `*` by default. When select is not called, methods that check whether to add stats columns fail, but only if there is a row filter because stats columns are not needed if there is no row filter.
Existing tests either called `select` to configure the reader, or didn't pass a row filter and projected all rows. This adds a test that uses `DeleteFileIndex` and a test for `ManifestReader`. This also fixes `dropStats` in addition to `requireStatsProjection`.
Closes #1726, #1725.
Co-authored-by: 钟保罗 <zh...@shxgroup.net>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] HeartSaVioR edited a comment on pull request #1730: Fix NullPointerException in ManifestReader
Posted by GitBox <gi...@apache.org>.
HeartSaVioR edited a comment on pull request #1730:
URL: https://github.com/apache/iceberg/pull/1730#issuecomment-722734394
Probably this should close #1724 instead of #1725?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] rdblue commented on pull request #1730: Fix NullPointerException in ManifestReader
Posted by GitBox <gi...@apache.org>.
rdblue commented on pull request #1730:
URL: https://github.com/apache/iceberg/pull/1730#issuecomment-723210332
@zanmeipaul, thanks for catching this in time to get it into the release!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] paulzanmei commented on pull request #1730: Fix NullPointerException in ManifestReader
Posted by GitBox <gi...@apache.org>.
paulzanmei commented on pull request #1730:
URL: https://github.com/apache/iceberg/pull/1730#issuecomment-722756631
Thank you @rdblue , #1724 and #1726 closed
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] HeartSaVioR commented on pull request #1730: Fix NullPointerException in ManifestReader
Posted by GitBox <gi...@apache.org>.
HeartSaVioR commented on pull request #1730:
URL: https://github.com/apache/iceberg/pull/1730#issuecomment-722734394
Probably this will close #1724 instead of #1725?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] aokolnychyi merged pull request #1730: Fix NullPointerException in ManifestReader
Posted by GitBox <gi...@apache.org>.
aokolnychyi merged pull request #1730:
URL: https://github.com/apache/iceberg/pull/1730
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] rdblue commented on pull request #1730: Fix NullPointerException in ManifestReader
Posted by GitBox <gi...@apache.org>.
rdblue commented on pull request #1730:
URL: https://github.com/apache/iceberg/pull/1730#issuecomment-722721922
@paulzanmei, I fixed another method and added tests to your work in #1726. I added this PR so that we can get this in quickly. I think we should get this into the 0.10.0 release.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org