djouallah opened a new issue, #727: URL: https://github.com/apache/iceberg-python/issues/727
### Apache Iceberg version 0.6.0 (latest release) ### Please describe the bug 🐞 running this `table.scan(selected_fields=('file'),).to_pandas()` i get this error ``` KeyError: 'f' The above exception was the direct cause of the following exception: ValueError Traceback (most recent call last) [/usr/local/lib/python3.10/dist-packages/pyiceberg/schema.py](https://localhost:8080/#) in select(self, case_sensitive, *names) 308 ids = {self._lazy_name_to_id_lower[name.lower()] for name in names} 309 except KeyError as e: --> 310 raise ValueError(f"Could not find column: {e}") from e 311 312 return prune_columns(self, ids) ValueError: Could not find column: 'f' ``` the field exist for sure, i tried with column , same error <img width="578" alt="image" src="https://github.com/apache/iceberg-python/assets/12554469/579fa90b-ddda-41e3-9315-5e499da4e247"> -- 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-unsubscr...@iceberg.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org