hello - I'm trying to modify a dataset table name ...
# troubleshoot
n
hello - I'm trying to modify a dataset table name in the datahub ui, we renamed the table in Snowflake and I was wondering if this is possible to do in the UI or CLI. I couldn't find how to rename in the cli docs I was reading here: https://datahubproject.io/docs/cli
m
Hi @nutritious-machine-80578: when you reingest from snowflake, the new table should be ingested and show up in the ui... are you trying to migrate metadata that you added in the ui from the old table to the new table?
n
Oops - yes i forgot to rerun our DAG that loads that, but it looks like it created a new table, so I now have the old and new table so I guess I'll delete the old-named table
@mammoth-bear-12532 - sorry one more question, I just tried deleting the old table in the cli but I keep seeing this error (pic1) Failed to connect to DataHub server at http://localhost:8080. Run with datahub --debug delete ... to get more information. this is the command i was trying to run:
datahub delete --urn "urn:li:dataset:(urn:li:dataPlatform:snowflake,dev.skm.old_testtable,DEV)" --soft
m
@nutritious-machine-80578 you need to issue a
datahub init
to point datahub cli to your datahub server
I assume you are not running datahub on the same machine?