You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a similar issue in direct api usage - using ListingSchemaProvider. When pointing it to a store with folders for each schema, it also creates the schemas with paths absent a trailing slash, causing the same issue. Made PR to fix this.
I found that adding a trailing / to the URL fixes this, so I will file a PR to add documentation
In addition to documenting this, could we change the is_dir logic in this code to detect if the path is a folder?
I'm thinking that we could Try to list the path and catch a failure to test if it is a directory.
We also might be able to count on the size of the Metadata on a folder to be 0 which would be a better option than trying to list the path if that is assured.
Describe the bug
This works:
This does not work:
Fails with:
To Reproduce
As described.
Expected behavior
Should be able to register a directory containing parquet files.
Additional context
Possibly related to #1736
The text was updated successfully, but these errors were encountered: