Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Updated lookup-table-api.md with CSV format requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kramarev committed Sep 18, 2023
1 parent af966c0 commit d27a3bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion docs/analytics/apis/lookup-tables-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ You can also create and manage lookup tables from the Amplitude web app. See [Lo

## Considerations

The max file size is 100 MB and the file can't have more than 1,000,000 rows.
The CSV file must comply with the following requirements:

- The max file size is 100 MB and the file can't have more than 1,000,000 rows.
- The first row should contain column names/headers.
- The first column must correspond to the mapping property value and must contain *unique* values. Keep in mind that Lookup Tables are looking for exact matches, and are *case-sensitive*.
- Columns must be separated by commas.
- Rows must be separated by line breaks.
- If a field value contains commas or quotes, it should be wrapped within double quotation marks. The first double quote signifies the beginning of the column data, and the last double quote marks the end. If the value contains a string with double quotes, these are replaced by two double quotes `""`.

## Create a Lookup Table

Expand Down
8 changes: 4 additions & 4 deletions docs/data/sources/lookup-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ To set up this integration, you need the following:
- An event property or user property to create a mapping from.
- A CSV that has the data you want to map to:

- The first row should contain column names/headers
- The first row should contain column names/headers.
- The first column must correspond to the mapping property value and must contain *unique* values. Keep in mind that Lookup Tables are looking for exact matches, and are *case-sensitive*.
- Columns must be separated by commas
- Rows must be separated by line breaks
- If a field value contains commas or quotes, it should be wrapped within double quotation marks. The first double quote signifies the beginning of the column data, and the last double quote marks the end. If the value contains a string with double quotes, these are replaced by two double quotes `""`
- Columns must be separated by commas.
- Rows must be separated by line breaks.
- If a field value contains commas or quotes, it should be wrapped within double quotation marks. The first double quote signifies the beginning of the column data, and the last double quote marks the end. If the value contains a string with double quotes, these are replaced by two double quotes `""`.

### Amplitude setup

Expand Down

0 comments on commit d27a3bb

Please sign in to comment.