Create reference tables using the UI
You can upload a CSV file in the UI to create a reference table. The input CSV file must be well-formed, which means the following:
- Every row must have the same number of columns
- The type of each row must be consistent with the schema, if specified
- Header is optional
- The column names in the header must be a valid dataset column name
- File size can be up to 10 MiB
Create a reference table
Perform the following steps to upload a CSV file and create a reference table.
- Log into your Observe by Snowflake instance, and click Data & integrations > Add data from the left menu.
- Click CSV file.
- Give a name to your reference table.
- Upload your CSV file.
- Select a primary key.
- Optionally, change the type of columns, such as String, Integer, Float, or Boolean.
- Click Save changes.
You can also create a reference table from the Dataset page. See Create a reference table from the Dataset page.
Update a reference table
Perform the following steps to edit a reference table:
- In the left nevigation, click Datasets to access the Datasets Explorer.
- Find the reference table you want to edit.
- Hover on the row of the reference table you want to edit and click the table cells icon () to open the Dataset page.
You can update this reference table by uploading a new CSV, or by making edits to individual cells.
| Update method | Use case |
|---|---|
| Upload a new CSV file to replace and overwrite the existing reference table. | You may want to do this if your table requires more extensive updates, such as adding new columns, or you are the only person able to make changes to this reference table. |
Edit the table directly:
| This allows different teams or individuals to make concurrent edits to different rows in the table. All of the changes persist, and every change is atomic and audited. |
Click Save reference table when you are done with your updates.
Delete a reference table
Perform the following steps to delete a reference table.
- In the left nevigation, click Datasets to access the Datasets Explorer.
- Find the reference table you want to delete.
- Hover on the row of the reference table you want to delete and click the table cells icon () to open the Dataset page.
- Click the vertical ellipsis icon () and select Delete.
Updated 1 day ago
Did this page help you?