gabeiglio opened a new issue, #2771:
URL: https://github.com/apache/iceberg-python/issues/2771

   ### Apache Iceberg version
   
   0.10.0 (latest release)
   
   ### Please describe the bug 🐞
   
   Steps to reproduce:
   
   ```python
   run_spark_commands(spark, [
       "DROP TABLE IF EXISTS ns.table",
       "CREATE TABLE ns.table (a int, b int) USING ICEBERG PARTITIONED BY (a)",
       "INSERT INTO ns.table VALUES (1, 2), (1, 2), (2, 1)",
       "ALTER TABLE ns.table DROP PARTITION FIELD a",
       "ALTER TABLE ns.table DROP COLUMN a"
   ])
   
   table = catalog.load_table("ns.table")
   
   # ERROR
   print(len(table.scan().plan_files()))
   ```
   
   Here is the [PR](https://github.com/apache/iceberg-python/pull/2367/files) 
with the fix
   
   ### Willingness to contribute
   
   - [x] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


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

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