HyunWooZZ opened a new issue, #1952: URL: https://github.com/apache/iceberg-python/issues/1952
### Apache Iceberg version 0.9.0 (latest release) ### Please describe the bug 🐞 Hi team :) I had a problem writing an Iceberg table to GCS via the JDBC catalog, but I solved it. However, I want to fix the logging around it. The error log said that the file already existed in the bucket — but there was actually nothing there. So, I printed the object to find out what type it was, and it turned out to be a directory. <img width="778" alt="Image" src="https://github.com/user-attachments/assets/9e24ee49-89a0-4ea8-a257-fff12df85259" /> Finally, I found the issue and was able to write the data successfully. How did I solve the problem? I just set my environment variable like below: export GOOGLE_APPLICATION_CREDENTIALS="" (I founded here. https://github.com/apache/arrow/blob/main/python/pyarrow/_gcsfs.pyx#L31) However, the log was confusing to me. If the problem was a lack of permission to read the GCS bucket, the error log should have said something like, "Cannot find bucket — please check your permissions" instead. So, I want to improve this to prevent others from wasting time like I did. Do you have any ideas on how to fix or improve the logging? Lastly, I found the get_file_info method here, but I couldn't dig deeper yet... https://github.com/apache/arrow/blob/main/python/pyarrow/fs.py#L268 ### Willingness to contribute - [ ] I can contribute a fix for this bug independently - [x] 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: 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