Describe the bug
The urn copied from the Share button throws errors as using a : when needing a .
For example my urn copied direct from UI looks like this:
urn:li:dataset:(urn:li:dataPlatform:file,Users/cate/git/datahub/titanic_data/titanic_dataset:csv,PROD)
which throws when adding contract:
[2024-11-07 15:33:17,899] ERROR {datahub.entrypoints:218} - Command failed: Cannot define a data contract for non-existent entity urn:li:dataset:(urn:li:dataPlatform:file,Users/cate/git/datahub/titanic_data/titanic_dataset:csv,PROD)
Which confused me for ages before I noticed the colon - works when changed to:
urn:li:dataset:(urn:li:dataPlatform:file,Users/cate/git/datahub/titanic_data/titanic_dataset.csv,PROD)
To Reproduce
Steps to reproduce the behavior:
Upload csv dataset from filesystem
Navigate to dataset in UI and copy the urn from the Share button
Use the urn when upsert-ing a data contract
Desktop (please complete the following information):
Describe the bug The urn copied from the Share button throws errors as using a
:
when needing a.
For example my urn copied direct from UI looks like this:
urn:li:dataset:(urn:li:dataPlatform:file,Users/cate/git/datahub/titanic_data/titanic_dataset:csv,PROD)
which throws when adding contract:
Which confused me for ages before I noticed the colon - works when changed to:
urn:li:dataset:(urn:li:dataPlatform:file,Users/cate/git/datahub/titanic_data/titanic_dataset.csv,PROD)
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):