Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Annotating your table schema can be done in the Data Workbench through the UI or via the API, API, or TD command-line interface.

  1. Open TD Console.

  2. Navigate to Data Workbench > Databases.

  3. Select a database.

  4. Select a table.

  5. Select Schema for the table.

  6. Select Edit Schema.

  7. Using the Identity Type drop-down for the column you want to annotate, select the annotation you want to set for that column. The identity types pre-defined by Treasure Data are:

    • 1st Party Cookie (Client-side)

    • 1st Party Cookie (Server-side)

    • 3rd Party Cookie (Partner)

    • 3rd Party Cookie (TD)

    • Email (Hashed)

    • Email (Raw)

    • Home address

    • Phone Number (Hashed)

    • Phone Number (Raw)

    • Vehicle Identification Number (VIN)

  8. After selecting the Identity Type, indicate whether the column contains sensitive data or not by selecting True or False from the Sensitive drop-down.

  9. After creating the annotations for the desired columns, select Save.