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:
Calling table.vacuum with a ADLS backed table results in a panic. Working around the panic results in no files being picked up.
thread 'vacuum::test_adls_vacuum' panicked at 'byte index 80 is out of bounds of adls2://[email protected]/mystorage/mytable', library/core/src/str/mod.rs:107:9
(Ignore the Index number. Modified the paths of my accounts)
Adding a / to the end of the table URI does not work since some normalization is performed during table load but would not matter due to the below issues.
More details:
I removed the + 1 on this line to check if it was the main issue but encounter other issues.
list_obj for ADLS may have two issues:
When ObjectMeta is created path from the callee of list_obj is used and not the actual paths from the API.
Currently recursive is set to false. Vacuum only calls list_obj for the table's URI hence only _delta_log and partition directories are being returned. This might be an issue with how vacuum is implemented.
Environment
Delta-rs version: git 649fdce
Bug
What happened:
Calling
table.vacuum
with a ADLS backed table results in a panic. Working around the panic results in no files being picked up.thread 'vacuum::test_adls_vacuum' panicked at 'byte index 80 is out of bounds of adls2://[email protected]/mystorage/mytable', library/core/src/str/mod.rs:107:9
(Ignore the Index number. Modified the paths of my accounts)
Adding a
/
to the end of the table URI does not work since some normalization is performed during table load but would not matter due to the below issues.More details:
I removed the
+ 1
on this line to check if it was the main issue but encounter other issues.list_obj
for ADLS may have two issues:ObjectMeta
is createdpath
from the callee oflist_obj
is used and not the actual paths from the API.list_obj
for the table's URI hence only_delta_log
and partition directories are being returned. This might be an issue with how vacuum is implemented.See: https://github.com/delta-io/delta-rs/blob/main/rust/src/storage/azure/mod.rs#L369-L375
The text was updated successfully, but these errors were encountered: