https://datahubproject.io logo
#getting-started
Title
# getting-started
f

flat-shoe-26745

06/07/2022, 8:37 AM
Hi everyone.The dataset with platform ‘file’ some has directory hierarchy, but some not .What’s the difference here
b

better-orange-49102

06/07/2022, 9:21 AM
there is a browsepath aspect that is not created for the one without the hierachy though not sure why it doesnt have it in the first place
f

flat-shoe-26745

06/07/2022, 9:47 AM
Thank you for your answer. 😊It seems that both ‘/’ and ‘.’ represent hierarchies. so how could I process the path text to escape it
b

big-carpet-38439

06/07/2022, 2:36 PM
Yes - this actually is dependent on the ingestion source you are using. Some will automagically populate this path by doing that split
f

flat-shoe-26745

06/08/2022, 2:51 AM
Thank you for your reply. 😃 What I need to show is some file relationships. If I take the initiative to submit the dataset by the python client , the xxx.json is expected to be displayed as a complete dataset name and hierachy. But it been splited and displayed as xxx/json. I use ‘\.’ to escape the path split but it doesnot works. Is there a specific escape character to do this?
b

big-carpet-38439

06/09/2022, 3:18 PM
@green-football-43791 Do you recall which character we can use to denote a path split in browse?
g

green-football-43791

06/09/2022, 3:22 PM
We use
\
and
.
to denote path splits in browse
i dont believe there is a way to escape these unfortunately
b

big-carpet-38439

06/09/2022, 3:23 PM
So if there's any period we will split
So the best bet is to emit a custom browse path it appear
4 Views