You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "cccs-jc (via GitHub)" <gi...@apache.org> on 2023/04/13 13:11:33 UTC

[GitHub] [iceberg] cccs-jc opened a new issue, #7340: Improve error reporting when streaming snapshot ID is no longer available

cccs-jc opened a new issue, #7340:
URL: https://github.com/apache/iceberg/issues/7340

   ### Feature Request / Improvement
   
   When doing a spark `readStream` on a table where the snapshots have been removed. A streaming job might refer to an old snapshot ID which is no longer available. Under these conditions the current code throws a null pointer exception here
   
   https://github.com/apache/iceberg/blob/e7df8c1a5ce53c9d2b3bfd7720441be0c85d18bc/spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkMicroBatchStream.java#L234
   
   It would be better to throw an exception here when obtaining the snapshot from the table. If it returns null we could throw an exception saying `snapshot ID 1234 could not be found in table`. 
   
   https://github.com/apache/iceberg/blob/e7df8c1a5ce53c9d2b3bfd7720441be0c85d18bc/spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkMicroBatchStream.java#L215
   
   
   ### Query engine
   
   None


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org

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] cccs-jc commented on issue #7340: Improve error reporting when streaming snapshot ID is no longer available

Posted by "cccs-jc (via GitHub)" <gi...@apache.org>.
cccs-jc commented on issue #7340:
URL: https://github.com/apache/iceberg/issues/7340#issuecomment-1506944288

   @singhpk234 does this seem like a good idea?


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

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] amogh-jahagirdar commented on issue #7340: Improve error reporting when streaming snapshot ID is no longer available

Posted by "amogh-jahagirdar (via GitHub)" <gi...@apache.org>.
amogh-jahagirdar commented on issue #7340:
URL: https://github.com/apache/iceberg/issues/7340#issuecomment-1507125149

   I actually raised a [PR](https://github.com/apache/iceberg/pull/6480/files) for this a while back, I can follow up on this


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

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


Re: [I] Improve error reporting when streaming snapshot ID is no longer available [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7340: Improve error reporting when streaming snapshot ID is no longer available
URL: https://github.com/apache/iceberg/issues/7340


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

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


Re: [I] Improve error reporting when streaming snapshot ID is no longer available [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7340:
URL: https://github.com/apache/iceberg/issues/7340#issuecomment-1778260107

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

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


Re: [I] Improve error reporting when streaming snapshot ID is no longer available [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7340:
URL: https://github.com/apache/iceberg/issues/7340#issuecomment-1756489143

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

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