HyunWooZZ opened a new pull request, #46415: URL: https://github.com/apache/arrow/pull/46415
### Rationale for this change Result<FileInfo> GetFileInfo(const GcsPath& path) method is changed. Before this change, It return directory. However it should be return not found info. So i added code that iterator is valid ### What changes are included in this PR? AS-IS ```cpp if (list_result.begin() != list_result.end()) ``` TO-BE ```cpp if (list_result.begin() != list_result.end() && *list_result.begin()) ``` ### Are these changes tested? Yes I did locally. ### Are there any user-facing changes? No origin issue. https://github.com/apache/iceberg-python/issues/1952 https://github.com/apache/arrow/issues/46414 -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org