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 2021/05/17 18:42:12 UTC

[GitHub] [iceberg] kbendick opened a new issue #2599: Provide better error message when users try to run incremental scans on a history table

kbendick opened a new issue #2599:
URL: https://github.com/apache/iceberg/issues/2599


   It's not possible to run an incremental scan on a `history` metadata table.
   
   Occasionally, users will swap back and forth between doing an incremental scan and querying the history table and will forget to unset the incremental versions, and the error message is not very helpful.
   
   Here's an example:
   
   ```scala
   spark.read.format("iceberg")
     .option("start-snapshot-id", "4718831532792232068")
     .option("end-snapshot-id", "4044746363673034999")
     .load("namespace.table.history")
     .show()
    ```
    
    The error message
   ```
   Message: Incremental scan is not supported
   ```
   
   It would likely be much more helpful if it said something like `Incremental scan is not supported in history metadata table` or more generally `Incremental scan is not supported in <actual class type>`. 


-- 
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 closed issue #2599: Provide better error message when users try to run incremental scans on a history table

Posted by GitBox <gi...@apache.org>.
rdblue closed issue #2599:
URL: https://github.com/apache/iceberg/issues/2599


   


-- 
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] kbendick commented on issue #2599: Provide better error message when users try to run incremental scans on a history table

Posted by GitBox <gi...@apache.org>.
kbendick commented on issue #2599:
URL: https://github.com/apache/iceberg/issues/2599#issuecomment-842538769


   This probably only comes up in the MetadataTable class, so not sure if it would be easier to update the base class or just that one place. I will take a look and submit a patch.


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