Import catalog (Local mode)
- 22 Dec 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Import catalog (Local mode)
- Updated on 22 Dec 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
This mode is recommended only for local mode where web portal UI-based import CSV is not supported.
- Prepare a CSV file as per the instructions here.
- Run the following command to import the CSV file.
adectl import -f <path-to-csv-file> -n <dataset-name> -t <table-name>
- <dataset-name>: Get this id from Datasets page on Data Explorer UI.
- <table-name>: Name of catalog table to which the entries must be imported. This can be an existing table matching the schema of the CSV, or if the table does not exist, then the table is automatically created.
- If dataset name is not unique or if you want to use dataset id, then -n <dataset-name> should be replaced with -d <dataset-id>
- The dataset name and dataset id are available on the Datasets page on Data Explorer UI, as seen below
- The catalog entries are visible on the catalog page on successful import.
Was this article helpful?