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
What happened:
we have a table in aws glue created by spark as an external table db.fake,
withe the db location set to s3://bucket-staging/delta/
thus
the storage description looks like
you can see the
StorageDescriptor.Location = s3://bucket-staging/delta/fake-PLACEHOLDER
StorageDescriptor.SerdeInfo.Parameters.path = s3://bucket-staging/delta/fake/csv_logs
the real s3 path for this table is in StorageDescriptor.SerdeInfo.Parameters.path
using code
File "/home/runner/.local/lib/python3.8/site-packages/deltalake/table.py", line 154, in from_data_catalog
return cls(table_uri=table_uri, version=version)
File "/home/runner/.local/lib/python3.8/site-packages/deltalake/table.py", line 122, in __init__
self._table = RawDeltaTable(
deltalake.PyDeltaTableError: Not a Delta table: No snapshot or version 0 found, perhaps s3://bucket-staging/delta/fake is an empty dir?
Error: Process completed with exit code 1.
seems like glue location is only reading from StorageDescriptor.Location in
Environment
Delta-rs version:
0.8.1
Binding:
AWS Glue
Environment:
ubuntu
Bug
What happened:
we have a table in aws glue created by spark as an external table
db.fake
,withe the db location set to
s3://bucket-staging/delta/
thus
the storage description looks like
you can see the
StorageDescriptor.Location = s3://bucket-staging/delta/fake-PLACEHOLDER
StorageDescriptor.SerdeInfo.Parameters.path = s3://bucket-staging/delta/fake/csv_logs
the real s3 path for this table is in
StorageDescriptor.SerdeInfo.Parameters.path
using code
it would throw error
seems like glue location is only reading from StorageDescriptor.Location in
delta-rs/crates/deltalake-catalog-glue/src/lib.rs
Lines 86 to 102 in 180b35b
What you expected to happen:
the table should read from right path
How to reproduce it:
create an external table to Glue using Spark specify the location and read this table from Glue
The text was updated successfully, but these errors were encountered: