yihua opened a new issue, #992:
URL: https://github.com/apache/hudi-rs/issues/992

   ### Is there an existing issue for this?
   
   - [x] I have searched the existing issues
   
   ### Description of the bug
   
   `Table::new_metadata_table` opens `.hoodie/metadata` with only the partition 
field option, so the storage options the data table was opened with 
(credentials, region, endpoint) never reach the metadata table. When those 
settings are passed only as options, the metadata table can't be opened: every 
plan logs "Failed to create metadata table, falling back to storage listing", 
lists storage instead, and tries the open again next time. The APIs that read 
the metadata table directly fail outright.
   
   ### Steps To Reproduce
   
   1. Unset `AWS_REGION` in the environment and open a table on S3 that has the 
metadata table enabled, outside `us-east-1`, passing `aws_region` as a storage 
option.
   2. Plan a read, or call `new_metadata_table()`.
   
   ### Expected behavior
   
   The metadata table opens with the same storage options as the data table.
   
   ### Screenshots / Logs
   
   _No response_
   
   ### Software information
   
   - Operating system: any
   - Rust version: 1.94
   - Project version: main
   
   ### Additional context
   
   _No response_
   


-- 
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]

Reply via email to