We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ae6235 commit 3c8afaeCopy full SHA for 3c8afae
awswrangler/s3/_read_parquet.py
@@ -771,7 +771,8 @@ def read_parquet_table(
771
args["CatalogId"] = catalog_id
772
res: Dict[str, Any] = client_glue.get_table(**args)
773
try:
774
- path: str = res["Table"]["StorageDescriptor"]["Location"]
+ location: str = res["Table"]["StorageDescriptor"]["Location"]
775
+ path: str = location if location.endswith("/") else f"{location}/"
776
except KeyError as ex:
777
raise exceptions.InvalidTable(f"Missing s3 location for {database}.{table}.") from ex
778
df = read_parquet(
0 commit comments