For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex Cloud Runtime

Import a lookup dataset

Import a lookup dataset for correlating data in Cortex Cloud.

Prerequisite

You can import data from CSV, TSV, or JSON files into Cortex Cloud to create or update lookup datasets.

Prerequisite

Example 124.

Here's an example of a JSON file in the correct format for upload:

{"firstName": "NAME_1", "SurName": "NAME_11", "employeeID": {"id": "ID_AAAAA_2"}}
{"firstName": "NAME_2", "SurName": "NAME_22", "employeeID": {"id": "ID_AAAAA_3"}}
{"firstName": "NAME_3", "SurName": "NAME_32", "employeeID": {"id": "ID_AAAAA_4"}}
  1. Select SettingsConfigurationsData ManagementDataset Management+ Lookup.

  2. Browse to your CSV, TSV, or JSON file. You can only upload a TSV file if it contains a .tsv file extension.

  3. (Optional) Under Name, type a new name for the target dataset.

    By default, Cortex Cloud uses the name of the original file as the dataset name. You can change this name to something that will be more meaningful for your users when they query the dataset. For example, if the original file name is mrkdptusrsnov23.json, you can save the dataset as marketing_dept_users_Nov_2023.

    Dataset names can contain special characters from different languages, numbers (0-9) and underscores (_). You can create dataset names using uppercase characters, but in queries, dataset names are always treated as if they are lowercase.

    Important

    The name of a dataset created from a TSV file must always include the extension. For example, if the original file name is mrkdptusrsnov23.tsv, you can save the dataset with the name marketing_dept_users_Nov_2023.tsv.

  4. Replace the existing data in the dataset overwrites the data in an existing lookup dataset with the contents of the new file.

  5. Click Add to add the file as a lookup.

  6. After receiving a notification reporting that the upload succeeded, Refresh refresh.png to view it in your list of datasets.

    If the upload fails for any reason, you'll receive a notification in the Notification Center.

Last updated

Was this helpful?