Hello, I am trying to delete datahub dataset using...
# ingestion
b
Hello, I am trying to delete datahub dataset using datahub delete --env PROD --entity_type dataset but when I run the command above and collect it again, the deleted data seems to keep coming out. Do you know what command or option to run to delete all data? And I don't know what a URI is, but what should I do to create a command with the hard option by writing a URI?
m
you want to run with
--hard --include-removed
b
Hi, Steve! Actually i tried
datahub delete --env p --entity_type dataset --hard
but it doesn't work. Do you mean
datahub delete --env p --entity_type dataset --hard --include-removed
(tried it, got an error)
even I delete with the --hard option , I still see data which should be not included!
m
@bitter-toddler-42943 which data can you still see? and which version of datahub cli do you have?
b
Hello, Steve! Thank you for your repond!
At first I loosened all permissions to the datahub account and collected data. However, I wanted to collect it again except for personal information (a situation in which personal information should not be shown), so I deleted it with the --hard option and then collected it again, but personal information was still collected. To exclude personal information, it was collected after revoking the right to inquire personal information on datahub account!
@modern-artist-55754 Thanks, Steve! I finally deleted it!
m
You are welcome
b
Thankts a lot!!!