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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to