Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOL julea-db does not handle relative paths #128

Open
t-erxleben opened this issue Nov 14, 2021 · 1 comment
Open

VOL julea-db does not handle relative paths #128

t-erxleben opened this issue Nov 14, 2021 · 1 comment

Comments

@t-erxleben
Copy link
Contributor

t-erxleben commented Nov 14, 2021

When a group creation call gets a name containing slashes, this name should be interpreted as a path relative to the given location.
Intermediate groups may be created if specified in the lcpl.

However this is not how julea-db behaves as it just creates a group with slashes in its name:
image
(Screenshot of the HDF5_DB_link table)

Edit: In contrast that what happens with native HDF5:

$ h5dump somefile.h5 
HDF5 "somefile.h5" {
GROUP "/" {
   GROUP "path" {
      GROUP "to" {
         GROUP "group" {
         }
      }
   }
}
}
@t-erxleben
Copy link
Contributor Author

t-erxleben commented Nov 14, 2021

As this behaviour is also needed for proper implementation of the object copy callback I will fix this right away.

Edit: I just realized that names are never interpreted as paths relative to location IDs so this issue applies to every open and create of groups and datasets.

@t-erxleben t-erxleben changed the title Wrong behaviour of group creation VOL julea-db does not handle relative paths Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant